Commit Graph

413 Commits (ee9d5b44103f11f49f7d1ea6a24b7810c19807c9)

Author SHA1 Message Date
dahall d9f00186b0 Removed support for .NET 2.0, 3.5, 4.0 and 4.5, .NET Core 2.0, 2.1, and 3.0 since all are or shortly will be out of support. Added support for .NET 4.6.2 and 4.8. 2022-02-07 14:35:37 -07:00
dahall e01892ab88 Updated project files and assembly docs 2022-01-23 14:04:24 -07:00
dahall ad56116e87 Lots of work to make using IDataObject and the clipboard more stable and usable. Added Get/Set extension methods for IDataObject. Added attributes to clipboard formats to help reading. Added formatters to process clipboard types. Fixed bugs in ShellDataObject and NativeClipboard. 2022-01-22 15:35:37 -07:00
dahall c3078b052b Updated project files with 3.4.0 changes 2022-01-17 17:15:18 -07:00
dahall 5f52aa7820 Added SafeMoveableHGlobalHandle class and added support to locking memory to all memory classes. 2022-01-16 17:22:34 -07:00
dahall 0bb9797e2f BREAKING CHANGES: I have dramatically reduced dependencies of almost all assemblies on .NET runtime assemblies not part of core System assemblies, most specifically System.Drawing and System.Windows.Forms. This forced the removal of some overloaded methods and the replacement of leveraged structures and enums with native equivalents. I added Vanara.Windows.Shell.Common which has all the content from Vanara.WIndows.Shell that did not have dependencies. I extracted all extension methods from Gdi32 and User32 and moved them to Vanara.Windows.Extensions. 2022-01-14 07:32:51 -07:00
dahall 65f846483d Removed as many references to System.Drawing as possible 2022-01-06 18:15:15 -07:00
dahall f86a38b113 Applied new lang constructs to CLIPFORMAT 2022-01-06 15:09:53 -07:00
dahall b061162730 Added POINT struct to Vanara.PInvoke and optimized RECT and SIZE structures. 2022-01-05 10:53:54 -07:00
dahall 92c8ab945b Updated NuGet packages 2022-01-04 15:28:43 -07:00
dahall 87f9f53590 Potentially Breaking Change: Moved TEXTMETRIC, LOGPALLETTE, PALLETTEENTRY, and PC from Gdi32 to Shared project to remove dependencies on Ggi32 by other projects (e.g. Ole). 2021-12-30 13:52:04 -07:00
dahall b9614e7eb2 Rolled version to 3.4.0 and added support for .NET 6.0 2021-12-27 16:34:25 -07:00
dahall 3863d931a0 Fixed IEnumFromCom change that broke elements without default construtors. 2021-12-27 08:36:41 -07:00
dahall 8a2335ea21 Updated IEnumFromCom to support intialized (new) items so it covers structures and classes. 2021-12-20 10:51:04 -07:00
dahall 34580ccf7f Updated project files for 3.3.14 2021-10-25 21:49:50 -06:00
dahall b4c96c6572 Added OSVersion enum value for Win11 2021-10-25 11:22:22 -06:00
dahall 7667a26c16 Updated NuGet dependencies 2021-10-19 07:52:18 -06:00
dahall 9b1468c2ee Added ability to set a COLORREF by using a tuple (e.g. `COLORREF c = (255,255,0);`) 2021-09-18 15:47:10 -06:00
dahall e886259eef Updated `SafeAnysizeStruct` so an `IntPtr` field can be used for the array size. 2021-09-01 11:05:57 -06:00
dahall d52b0d5b18 Updated NuGet package dependencies 2021-08-26 09:05:27 -06:00
dahall 5132c0249b Changed HFILE to implement ISyncHandle 2021-08-25 12:03:23 -06:00
dahall 3f8ebec9be Changed all dll references to lowercase to avoid new .NET 5 behavior (fixes #235) 2021-06-24 11:14:34 -06:00
dahall 55458a86fe Updated project files for 3.3.10 2021-06-03 20:12:24 -06:00
dahall 20bdf64790 Added SafeHANDLE.ReleaseOwnership method to extract handle from safe handle so it is not closed on disposal. 2021-06-03 19:52:26 -06:00
dahall c1f2225efb Updated project files for 3.3.10 release 2021-06-02 20:57:31 -06:00
dahall 23f1e4c995 Removed unnecessary folder include directive 2021-05-24 12:12:26 -06:00
dahall 04efba5ec1 Backed out changes re: SafeEventHandle from HEVENT 2021-05-24 12:11:55 -06:00
David Hall bd43c2c000 Added SafeEventHandle to HEVENT implicit operator 2021-05-22 23:32:45 -07:00
dahall c68f6bb5a0 Extracted OFSTRUCT from Kernel32 to Shared and changed fFixedDisk field to `bool`. 2021-05-10 14:44:06 -06:00
dahall 7ea275cc7a Final project updates for 3.3.9 2021-05-07 12:27:00 -06:00
dahall 89f5605f65 Updated project files 2021-04-26 10:16:34 -06:00
dahall 5ffefe1d94 Fixed build warnings 2021-04-21 16:40:25 -06:00
dahall 1be2db704d Extracted and fixed IEnumFromCom 2021-04-21 15:33:28 -06:00
dahall 011b3011d2 Improved error handling. 2021-04-20 19:26:05 -06:00
dahall e71d7949ca Fixed bug in IEnumFromCom<TItem> single object constructor 2021-04-20 19:16:22 -06:00
dahall cc4f1adc02 Updated LCID with LANGID parts 2021-04-14 12:52:08 -06:00
dahall 47499fb9ad Added LANGID structure 2021-04-14 12:04:13 -06:00
dahall b5acf30b53 Moved LCID to WinNT folder where it belongs 2021-04-14 12:03:20 -06:00
dahall 62aa360cc3 Added default param to ThrowLastErrorIf method 2021-04-06 12:46:45 -06:00
dahall 4dc0871047 Added generic Win32Error.ThrowLastErrorIf method 2021-04-06 12:44:00 -06:00
dahall 5b6db2cfe6 Added Vanara.PInvoke.IMAPI (Image Mastering API) assembly 2021-03-28 16:35:57 -06:00
NN 28822bab9e
Use explicit framework reference. Remove transitive TFM requirement. (#212)
Co-authored-by: NN <NN---@users.noreply.github.com>
2021-03-23 07:26:03 -06:00
dahall 8aa4e7d96e Updated package descriptions with briefer syntax 2021-03-07 11:24:58 -07:00
dahall 3e00f2743c Updated referenced NuGet package versions 2021-03-07 11:15:52 -07:00
dahall c5075f648b Made implicit conversion to HANDLE work from SafeHandle instead of SafeHANDLE 2021-03-06 18:51:17 -07:00
dahall b92976fad4 Fixed bug in last commit 2021-03-04 11:41:40 -07:00
dahall 042cf8573c Added equality operators for IHandle and IntPtr to SafeHANDLE. 2021-03-04 10:56:29 -07:00
dahall fb5f44738e Updated project files for 3.3.5 2021-03-01 15:07:01 -07:00
dahall 87664c5f97 Added AnySizeStringMarshaler<T> which is an IVanaraMarshaler implementation to handle structures where the last field is a single character string array. Also added ability to use "*" as field name to indicate that string or array length should be determined by the amount of allocated memory. 2021-02-18 14:22:59 -07:00
dahall a6d225b6b8 Updated project files with `ImportWindowsDesktopTargets` feature to prevent NETSDK1136 build error (#200) 2021-01-26 07:49:48 -07:00
dahall 93efa5648e Added `Macros.MAKEINTATOM` function 2021-01-24 18:57:43 -07:00
dahall aff898c849 Changed Win32Error.GetLastError to use function from Kernel32 instead of Marshal.GetLastError to improve speed. 2021-01-24 18:55:49 -07:00
dahall 51e1dfe133 Added IScsiDsc library 2021-01-19 11:18:23 -07:00
dahall 9609ce7eee Extended and improved object GetValue(this REG_VALUE_TYPE value) method 2021-01-14 20:23:30 -07:00
dahall 583a0a9f93 Updated project files 2021-01-14 12:02:00 -07:00
dahall 4a63607d26 Updated project files 2021-01-11 15:30:51 -07:00
dahall d92b34e446 Added const property key and Guid values for use by SetupAPI 2021-01-11 11:24:19 -07:00
dahall 9345674ebc Moved PDCAP enum from PowrProf to Shared and added a few other enums and structure to Shared.Wdm.cs from that header file. 2021-01-11 11:20:54 -07:00
dahall 0d732be421 Added StructHelper.InitWithSize to simplify the many structures that have to be initialized with their size. 2021-01-11 11:16:52 -07:00
dahall e23d7d2220 Moved DEVICE_SCALE_FACTOR from Shell32 to Shared 2021-01-11 11:16:06 -07:00
dahall 06027d381a Updated project files 2020-12-30 21:01:44 -07:00
dahall 16ce539b33 Added Msi (partial), NewDev (complete) and SetupAPI (partial) assemblies 2020-12-30 20:48:39 -07:00
dahall 9212f849c9 Moved OLE types CY, DECIMAL and DATE up to Shared assembly. 2020-12-29 14:59:20 -07:00
dahall 3ad427a190 Updated project files 2020-12-27 18:29:25 -07:00
dahall f0fd3f0334 Moved MouseButtonState from User32 to Shared assembly and up to PInvoke namespace. Fixed dependencies. 2020-12-27 17:30:06 -07:00
dahall 4c85c898ce Added constructor for MSG struct 2020-12-25 20:40:00 -07:00
dahall 6f0255aa56 Changed ThrowLastErrorIfInvalid to a generic method to return the same type as the delegate 2020-12-20 08:27:17 -07:00
dahall 952c6cebe1 Added HWND.HWND_MESSAGE value 2020-12-18 17:49:12 -07:00
dahall e214393430 Updated project documentation files 2020-12-16 11:41:02 -07:00
dahall cd75cd654d Added Vanara.Collections.ICOMEnum<T> interface to indicate COM interfaces that support the Enum/Reset pattern. Useful for simplifying getting IEnumerable runs from them. 2020-12-14 16:04:42 -07:00
David Hall b51948f29b Added ResourceId.IsIntResource property 2020-11-27 10:32:29 -07:00
dahall 4d71e6ce9b Updated project information markdown files with new format 2020-11-20 18:52:43 -07:00
dahall 4c18661740 Updated project files for 3.3.0 release 2020-11-20 12:38:46 -07:00
dahall 439d77f58d Added HEVENT handle 2020-11-19 14:48:23 -07:00
dahall 04d33e7e1a Added support for .NET 5.0 (windows) 2020-11-13 16:55:23 -07:00
dahall a07d008347 Updated project files for 3.2.20 2020-11-13 11:33:33 -07:00
dahall 3e4e60433e Changed SafeNativeLinkedList back to supporting struct (not unmanaged) type param and removed unsafe pointer getter. 2020-11-11 07:56:03 -07:00
dahall 317947d16b Added SafeNativeLinkedList.GetUnsafeItems 2020-11-10 21:34:45 -07:00
dahall d805e46f28 Derived SafeNativeLinkedList from SafeNativeListBase and added ability to change way linked list is retrieved. 2020-11-10 09:40:46 -07:00
dahall 274953b061 Added SafeNativeListBase which is a SafeMemoryHandle that acts as a read-only list. 2020-11-10 09:39:55 -07:00
dahall 5136887803 Updated Theraot NuGet pkg to 3.2.0 across solution 2020-10-28 19:32:14 -06:00
dahall ffc54378a7 Removed .NET 5.0 support until VS is updated 2020-10-26 18:36:24 -06:00
dahall 69bd276627 Added support for .NET 5.0 (windows) 2020-10-26 10:36:13 -06:00
dahall ff11d2e393 Added standard HWND constants as static fields in HWND 2020-09-25 17:16:22 -06:00
dahall a0f13e4c7e Added .NET Standard 2.0 support 2020-09-20 12:35:17 -06:00
dahall ad3189ebb5 Added missing EnumeratorToEnumVariantMarshaler for .NET Core 2020-09-17 20:28:49 -06:00
dahall bde637b8d3 Fixed condition in HRESULT.FormatMessage that fails when MUI file couldn't be found. 2020-09-14 17:15:23 -06:00
dahall dabe7bcd84 Added methods to assist with memory alignment. 2020-09-10 10:11:58 -06:00
dahall 1f52c4aaf0 Removed warning messages 2020-09-03 10:51:23 -06:00
dahall 7b44c23bda Added DRT.dll library 2020-08-31 16:55:50 -06:00
dahall abcc1e276d Removed duplicates 2020-08-30 21:14:24 -06:00
dahall 0469e26f83 Initial PeerDist.dll implementation 2020-08-30 21:11:35 -06:00
dahall d214434cda Initial implementation of P2P.dll 2020-08-26 21:04:19 -06:00
dahall cac3df43f2 Project information update 2020-07-27 10:50:28 -06:00
dahall e701d99c1b BREAKING CHANGE: Due to performance, changed IMemoryMethods and ISimpleMemoryMethods to contain method signatures instead of properties of method delegates. Then changed all derived memory classes to new interface definition. I believe most of this only affects internal classes so hopefully not a huge effect on your code. 2020-07-20 09:48:32 -06:00
dahall ce2d837a5c Added AssociateStringAttribute to associate a string with a code element. 2020-07-17 15:28:21 -06:00
dahall c081cfa38c Updated project information files 2020-07-14 16:02:36 -06:00
dahall fffb6981ff Update project statistics files 2020-07-14 15:07:18 -06:00
dahall eb3cc13bb3 Updated project information for 3.2.12 2020-07-13 08:58:32 -06:00
Jean-Bernard Pellerin 88856b5a94
Update Win32Error.Values.cs typo in identifier (#141)
ERROR_EVT_EVENT_DEFINITION_NOT_OUND to ERROR_EVT_EVENT_DEFINITION_NOT_**F**OUND (value 0x00003AB8)
2020-06-25 14:46:18 -06:00