Commit Graph

2499 Commits (90831ea16f607f16dc7f6f863552d025026c7121)

Author SHA1 Message Date
dahall 90831ea16f Changed SafeMoveableHGlobalHandle.ctor(IntPtr...) method to not accept size and rather extract it using GlobalSize 2022-01-22 15:31:55 -07:00
dahall 4ce428215c Added SafeAllocatedMemoryHandleBase.GetBytes() and pulled SafeMemoryHandle.Locked from IMemoryMethods instance 2022-01-22 15:30:42 -07:00
dahall 5a511172ea Added extra buffer when setting size from VanaraMarshaler to prevent errors when they're off due to alignment issues 2022-01-22 15:28:48 -07:00
dahall 0f6fb75d3d Added StringHelper methods supporting encoders 2022-01-22 15:27:13 -07:00
dahall 0b3ac8d87a Prevented #269 by addeding documentation and removing [Optional] attribute on final param for SHChangeNotify. 2022-01-18 06:28:50 -07:00
dahall a7669dd9b3 Added extension assembly for WPF 2022-01-17 17:15:41 -07:00
dahall c3078b052b Updated project files with 3.4.0 changes 2022-01-17 17:15:18 -07:00
dahall b29be14b93 Added extension assemblies for WinForms and WinUI/UWP 2022-01-16 17:58:29 -07:00
dahall a4c638cf36 Removed SafeMoveableHGlobalHandle and replace with Kernel32 instance 2022-01-16 17:24:00 -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 747da30302 Fixed small bug in IntPtr.ToStringEnum 2022-01-16 17:21:11 -07:00
dahall 03b9c6e9fc Fixed #268 2022-01-15 09:39:37 -07:00
dahall bd707099f8 Merge branch 'master' of https://github.com/dahall/Vanara 2022-01-14 07:33:18 -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 62326772d4 Moved WinForms extension from Gdi32 to new Windows.Extensions project 2022-01-13 12:15:07 -07:00
dahall 944e4bc7c7 Removed windows platform dependency from WIndows.Forms project 2022-01-12 09:59:39 -07:00
dahall 656c6d2b02 More tweaks to allow for Shell.Common and Shell.Windows to work along with unit tests 2022-01-11 18:13:44 -07:00
dahall c8d027ed53 More moves to Shell.Common 2022-01-11 18:12:18 -07:00
dahall 65f846483d Removed as many references to System.Drawing as possible 2022-01-06 18:15:15 -07:00
dahall 73fdcb4146 Removed WInFOrms dependencies from ShellDropTarget 2022-01-06 15:36:03 -07:00
dahall 5e108d65fd Change IDropTarget Point parameters to POINT 2022-01-06 15:35:40 -07:00
dahall f569238657 Moved ShellDropTarget to Common 2022-01-06 15:35:15 -07:00
dahall f17ed396f2 Updated moved classes so they do not depend on System.Windows.Forms. There are lots of breaking changes when compared to Vanara.Windows.Shell, mostly around the use of IWin32Window. 2022-01-06 15:11:41 -07:00
dahall 34c31238fd Fixed docs for IShellLinkW.GetHotKey 2022-01-06 15:10:22 -07:00
dahall f86a38b113 Applied new lang constructs to CLIPFORMAT 2022-01-06 15:09:53 -07:00
dahall dd1df2a150 Moved Vanara.Windows.Shell files to Common project 2022-01-06 15:07:36 -07:00
Mark Lechtermann 8ca58cc2c8
TYPEFLAGS changed to uint (#267) 2022-01-06 08:54:05 -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 25feb73e7a Normalized use of ComCtl32, Gdi32, and User32 references in Shell32 2022-01-04 15:30:20 -07:00
dahall 92c8ab945b Updated NuGet packages 2022-01-04 15:28:43 -07:00
dahall 1b3fd2b14b Removed 'windows' platform indicators from TargetFrameworks 2022-01-04 15:27:39 -07:00
dahall e15ee53a0a Removed dependencies on WinForms and WPF for Gdi32 and User32 assemblies. This forced the removal of extension methods to convert HBITMAP and HICON to System.Windows.Media.Imaging.BitmapSource. 2022-01-04 07:27:12 -07:00
dahall fe9fa528cf Removed Gdi32 dependency from Ole project 2021-12-30 13:52:47 -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 cfb16974f9 Moved less-dependent classes from Vanara.Windows.Shell to Vanara.Windows.Shell.Common 2021-12-30 13:50:24 -07:00
dahall 51a79e75c6 Added new (empty) Vanara.Windows.Shell.Common project 2021-12-30 11:23:31 -07:00
dahall 7026a893f9 Removed PackageReference details for .NET 5 and 6 projects with System.Drawing.Common. 2021-12-29 10:16: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 e0fc40dac4 Updated project files for VSS 2021-12-27 09:30:43 -07:00
dahall 2eddeabf2c More updates and unit tests for VSS (still not ready) 2021-12-27 09:20:57 -07:00
dahall 3863d931a0 Fixed IEnumFromCom change that broke elements without default construtors. 2021-12-27 08:36:41 -07:00
dahall 8807c2c497 Fixed example in XML text 2021-12-27 08:35:51 -07:00
dahall 52af822dfd Fixed #262 and adjusted other functions in ICreateTypeInfo to include enums. 2021-12-26 20:01:14 -07:00
dahall b003cb62c1 Merge branch 'master' of https://github.com/dahall/Vanara 2021-12-20 10:51:23 -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 1f6085122f Added Shell notify icon messages (#260) 2021-12-20 10:49:58 -07:00
Andre Gleichner 9e9f26d927
Fixing wrong size of IMAGEHLP_MODULE64.ModuleName; see https://docs.microsoft.com/en-us/windows/win32/api/dbghelp/ns-dbghelp-imagehlp_modulew64 (#256) 2021-12-20 09:47:45 -07:00
dahall 1cbfdefb5b Updated project files 2021-12-12 21:19:43 -07:00
dahall ce721c9185 Update documentation and static class names for VSS 2021-12-12 13:35:57 -07:00
dahall 79703bd285 Fixed project and solution so VssApi builds correctly for .NET 5.0 2021-12-12 12:57:23 -07:00