Commit Graph

413 Commits (ee9d5b44103f11f49f7d1ea6a24b7810c19807c9)

Author SHA1 Message Date
David Hall 4a2216f13b Added SafeNativeArray.GetRefAt method to get a reference to an element in the array 2023-01-27 21:12:45 -07:00
David Hall fcfeb0177d Remove incorrect NonSerialized attributes from POINT 2023-01-21 15:13:11 -07:00
David Hall 5107816310 Added Point.x and y properties to match some C++ implementations 2023-01-16 20:51:13 -07:00
David Hall 6f80b4217d Fixed and extended implicit operators for RECT and PRECT 2023-01-16 12:13:58 -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 6fbb14d6fe Updated NuGet package dependencies 2022-12-08 17:38:29 -07:00
David Hall cd004f94a2 Add implicit op from SafeHANDLE to HANDLE 2022-11-16 21:37:42 -07:00
David Hall db86377954 Added implicit op for SystemColorIndex to HBRUSH 2022-11-16 21:37:13 -07:00
David Hall 075b9046f8 Updated project files 2022-10-25 11:24:54 -06:00
David Hall 18cafb3499 Added indexer to `SafeElementArray` 2022-10-12 09:39:43 -06:00
David Hall 6e0d824233 Exposed static fields in `SafeElementArray` 2022-10-12 07:52:36 -06:00
David Hall ba6791b91c Added `DebuggerDisplayAttribute` to `IndirectString` 2022-10-11 09:42:01 -06:00
David Hall d88ce8c99f Fixed problem with `IndirectResource` and nullable string values 2022-10-10 14:48:30 -06:00
David Hall f3a42c72f9 Added nullable support to `IndirectResource` and `IndirectString` 2022-10-10 10:34:02 -06:00
David Hall 8f039f6250 Added `SHLoadIndirectString` stub to `IndirectString` to avoid referencing full library. 2022-10-10 10:07:14 -06:00
David Hall 0afb23e24e Moved classes `IndirectResource` and `IndirectString` to `Vanara.PInvoke.Shared` library since they capture a pattern across Win32. 2022-10-10 10:01:29 -06:00
David Hall 0876214699 Cleaned 2022-10-10 09:29:24 -06:00
David Hall c369b9d8f9 Cleaned ResourceId and added equality operators 2022-10-10 09:27:03 -06:00
David Hall 76087b0ab5 Corrected build warnings related to RequiresUnreferencedCodeAttribute 2022-10-04 09:06:09 -06:00
David Hall 79b0342a7d Fixed bug in SafeAnysizeStructBase that couldn't process string arrays. Root cause of #315. 2022-09-16 18:34:22 -06:00
David Hall e2f453b2c6 Updated project files 2022-09-03 10:28:08 -06:00
David Hall 2099517c90 Added SafeNativeArrayBase.GetPointers method 2022-09-02 16:33:46 -06:00
dahall 7c032ba708 Renamed all project report files to 'readme.md' so they show in GitHub 2022-09-01 14:43:04 -06:00
dahall 5c0dbc913b More work on NdfApi 2022-08-10 14:34:37 -06:00
dahall 3b18dd7755 Updated project files 2022-08-06 15:38:43 -06:00
dahall 155609864a Fixed minor build errors 2022-08-05 21:03:44 -06:00
dahall ec819a941d Fixed naming conflict with FILE_SHARE enum 2022-08-05 17:10:07 -06:00
dahall 316f96cd24 Added missing file attributes to FileFlagsAndAttributes and added FileShare enum with FILE_SHARE_* values. 2022-08-05 14:54:53 -06:00
dahall 34bed8cfb4 Cleaned handle classes 2022-07-28 22:19:53 -06:00
dahall 677081358a Refactored base handle structures into templates 2022-07-21 09:20:46 -06:00
dahall 660215dc19 Moved Shared\Handles.cs to Shared\Handles\IHandle.cs in prep for refactoring 2022-07-20 19:35:31 -06:00
dahall 0467cde74e Added ! operator to SafeHANDLE and cleaned Handles.cs 2022-07-20 19:32:12 -06:00
dahall e97896fda6 Updated project files 2022-07-16 19:30:05 -06:00
dahall 51bd754440 Cleaned Win32Error and fixed some docs 2022-07-10 17:29:30 -06:00
dahall dba346c0d0 BREAKING CHANGE: Removed winsock errors from Win32Error (incorrect fit). 2022-07-10 17:21:25 -06:00
dahall 027a8ce228 Fixed trimming error for type converters 2022-06-28 16:02:50 -06:00
dahall 5bf2fce31e Added IErrorProvider as equatable for HRESULT 2022-06-28 15:04:13 -06:00
dahall 298ea34914 Updated package readme files 2022-06-14 16:55:29 -06:00
dahall dec0bb3cc0 Added more helper functions for working with StringBuffer related methods. 2022-06-09 22:33:11 -06:00
dahall aa69db53fd Updated documentation and added package readme files. 2022-05-09 15:56:58 -06:00
dahall 214fd313ba Updated project files 2022-05-04 17:25:17 -06:00
dahall fb607a799e Fixed #296 - invalid `MIB_UDP6ROW_OWNER_PID.dwOwningPid` value when calling `GetExtendedUdpTable` 2022-05-04 10:59:33 -06:00
dahall 013ee74453 Updates to hopefully fix PInvoke.Shared load problems 2022-04-22 13:24:51 -06:00
dahall 3b7a31aaea Fixed conditional binding to Registry in Vanara.PInvoke.Shared 2022-04-16 10:37:31 -06:00
dahall 03701986c2 Moved RGBQUAD from Gdi32 to Shared. 2022-03-16 09:41:48 -06:00
dahall 2b4f3bd1b2 Updated project files 2022-03-14 13:26:43 -06:00
dahall dc6cea6de0 Moved most TargetFrameworks tags out of project files and into Directory.Build.props for easier maint. Also changed net462 build to net45 for greater compatibility. 2022-03-14 09:32:06 -06:00
dahall 913d1f61d1 Added HWND.HWND_BROADCAST constant 2022-03-10 17:45:42 -07:00
dahall 093916caae Fixed bug in Win32Error.ThrowLastErrorIf method that would exception if error was success. 2022-03-10 17:44:40 -07:00
dahall b669932c57 Removed code and conditionals for obsolete target frameworks. 2022-02-07 14:58:09 -07:00