Commit Graph

648 Commits (ff50c4a4c9b25abd88cf8a4a47f92c56e0fd4a94)

Author SHA1 Message Date
David Hall ff50c4a4c9 Updated CryptUI. CRYPTUI_WIZ_DIGITAL_SIGN_BLOB_INFO and CRYPTUI_WIZ_DIGITAL_SIGN_CERT_PVK_INFO and CRYPTUI_WIZ_DIGITAL_SIGN_CONTEXT with better ctors and enums. 2023-09-07 14:05:46 -06:00
cuft f66686c287
fix PROPVARIANT at 64-bit, Clearing string Vectors + UT (#413)
* fix PROPVARIANT @64-bit

* fix PROPVARIANT.Clear() - string arrays

* enh. IPropSetStorageTest - R/W multiple properties

* whitespace

---------

Co-authored-by: Pavel Luft <pavel.luft@cadteam.cz>
2023-07-05 19:48:03 -06:00
David Hall 71b857bf7e Finished work on #403 2023-06-08 19:05:16 -06:00
David Hall b2947c4426 Updated NuGet packages 2023-05-21 12:34:58 -06:00
Ruofan caae0d547a
Apply the solution, add the new test or that and simplified the test (#390) 2023-04-15 11:28:46 -06:00
David Hall f4e78524ee Updated testing for User32 wrapper classes 2023-04-10 15:29:35 -06:00
Ruofan 0493dbd4a2
Fixed incorrect definition on API DbgUiSetThreadDebugObject (#387)
* Fixed incorrect definition on API DbgUiSetThreadDebugObject

DbgUiSetThreadDebugObject do not return any value, we should mark it as "void"

* Fixed the document for API DbgUiSetThreadDebugObject
2023-04-10 07:51:17 -06:00
David Hall 44d9c2a3b2 Minor tweaks to PR #386 2023-04-04 08:00:22 -06:00
Ruofan a9ff5e3c8f
Add two undocumented API in ntdll (#386)
API1: DbgUiSetThreadDebugObject
API2: NtRemoveProcessDebug
2023-04-04 07:45:07 -06:00
Mihai 3664bd2a8d
Fixed the DsFreeSpnArray function signature, as it was corrupting the native heap. (#382) 2023-03-25 15:59:06 -06:00
David Hall c37ef68f8b Added unit test and corrected return values in Lz32 2023-02-22 22:56:16 -07:00
David Hall ebbe292a91 Fixed LOGPALETTE structure and associated functions 2023-02-21 21:33:28 -07:00
David Hall 30f7fcc941 Final SetupAPI tests 2023-02-11 07:58:37 -07:00
David Hall 79df4564cb Changed parameters of SetupDiGetDriverInfoDetail to use an IntPtr and a new overload to extract the results to SP_DRVINFO_DETAIL_DATA_MGD. 2023-02-11 07:45:48 -07:00
David Hall 764efd8a14 Added conversion operator from FileSystemInfo to FILEDESCRIPTOR 2023-02-02 20:26:53 -07:00
David Hall 139ec44dd4 Finished work on Vanara.PInvoke.CoreAudio 2023-01-31 15:00:12 -08:00
David Hall dd1af5f67c More BREAKING CHANGES to NativeClipboard. (Sorry!) All atomic methods to set data have been removed due to inconsistencies and design challenges. New model forces all setting and getting to be done through IDataObject and it's methods and extensions. See documentation for class for example. Addresses #355. 2023-01-29 10:20:13 -07:00
Peter Šulek 8ed6e0402d
#371 Add Create method for types MONITORINFO and MONITORINFOEX (#372)
* #371 Add Create method for types MONITORINFO and MONITORINFOEX

* fixed CodeFactor issues

* #371 Add Create method for types MONITORINFO and MONITORINFOEX

* fixed CodeFactor issues

* changed Create methods to Default property

* fixed MONITORINFOEX.Create() with MONITORINFOEX.Default

---------

Co-authored-by: Peter Šulek <peter.sulek@synotgames.com>
2023-01-28 18:44:24 -07:00
David Hall 93ccf3ca34 Finished work on TDH methods 2023-01-28 18:38:16 -07:00
David Hall 177688f196 Lots of work on WindowBase, VisibleWindow, WindowClass and MessagePump 2023-01-26 18:05:19 -07:00
David Hall ab28c3647f Added and modified classes supporting window creation and message pumps 2023-01-23 20:40:42 -08:00
David Hall 6f80b4217d Fixed and extended implicit operators for RECT and PRECT 2023-01-16 12:13:58 -07:00
David Hall 8d8ffa4d5b Additional documentation for NativeClipboard and IDataObject extensions 2023-01-14 16:12:40 -07:00
David Hall 94703f0acc More NativeClipboard changes 2023-01-14 11:36:08 -07:00
David Hall f793f09790 Another try at getting NativeClipboard working 2023-01-10 15:51:13 -07:00
David Hall 4e5ebb515b Updated clipboard SetText methods 2023-01-05 16:06:09 -07:00
David Hall 55512c732e Tons of fixes and updates to IDataObject and Clipboard methods and wrapper classes. 2023-01-05 10:28:15 -07:00
David Hall 63203f558e Updated SafeMoveableHGlobalHandle class and added tests. 2023-01-04 17:08:36 -07:00
David Hall 8e09e4e2dd More work on NativeClipboard 2022-12-30 18:24:08 -07:00
David Hall f786ef22d2 More work on NativeClipboard 2022-12-30 16:19:14 -07:00
David Hall 7ca924e5f7 Hopefully fixed #355 2022-12-30 13:56:19 -07:00
David Hall c0f5ed1595 Changed VSS_MGMT_OBJECT_PROP to struct for marshaling 2022-12-28 16:49:56 -07:00
David Hall 56571b2522 Changed NativeClipboard.SetShellItems functionality and added overlaod. 2022-12-27 09:34:36 -07:00
David Hall 0f00ef4fcf Fixed NativeClipboard GetText and SetText methods. Also changed ctor so that if no HWND is passed, it uses the Desktop's window handle. Fixes #355. 2022-12-25 17:05:38 -07:00
David Hall 532f43037b Removed dependencies on all x64 preprocessor indications and just made all structures work for both 32 and 64-bit (#346) 2022-12-21 20:33:41 -07:00
David Hall b2e972c77e Fixed NuGet references 2022-12-21 20:31:52 -07:00
David Hall 5241527f1f Added TestHelper.DumpStructSizeAndOffsets 2022-12-21 20:29:52 -07:00
David Hall 5c48d15f84 Fixed alignment of SET_VIRTUAL_DISK_INFO (#356) 2022-12-21 20:29:15 -07:00
David Hall 258cab3ad9 Added NativeClipboard.GetFileNameMap, GetShellItemArray, IsFormatAvailable(string) and SetShellItems methods (#353) 2022-12-20 15:06:37 -07:00
David Hall 7af4bc6b03 Updated tests for NativeClipboard 2022-12-19 17:13:17 -07:00
David Hall a620e499fc Got the VssApi projects to build 2022-12-16 23:40:39 -07:00
David Hall 6fbb14d6fe Updated NuGet package dependencies 2022-12-08 17:38:29 -07:00
David Hall 1a5d668418 Added Vanara.PInvoke.PhotoAcquire assembly with interfaces for Photo Acquisition. 2022-11-16 17:10:01 -07:00
David Hall 8387a31b26 Updated NUnit package version for tests 2022-11-16 11:52:29 -07:00
Martin Kuschnik 37d2a55ea8
Fixed NullReferenceException caused by unsuccessful CredRead call (#344)
* Added unit test for not existing credential
* fixed NullReferenceException caused by null to CREDENTIAL_MGD conversion
2022-11-14 09:06:07 -07:00
David Hall e1101990b0 Updates to WebSocket 2022-10-30 09:35:13 -06:00
David Hall f60a379236 Added Vanara.PInvoke.QoS project with QWave and QoS traffic support. 2022-10-22 11:02:37 -06:00
David Hall 23f455efaa Updated `DistributedRoutingTable` and supporting classes 2022-10-11 11:54:05 -06:00
David Hall df1702b414 Added `WindowsFirewall` and supporting classes to `Vanara.SystemServices`. 2022-10-11 09:43:29 -06:00
David Hall 680892bf5c Added `TestHelper.IsElevated` property 2022-10-11 09:41:22 -06:00