Commit Graph

1301 Commits (159f1c8235ed1b98a963887069710a0a21cf3d1d)

Author SHA1 Message Date
David Hall 159f1c8235 Added EnumInheritance and InheritsFrom extension methods. 2019-12-06 17:09:08 -07:00
David Hall 2cb4245f37 Added IsMarshalable method and converted most uses of IsBlittable to it. Fixed MarshalToPtr(Array ... method to not throw casting exception. 2019-12-06 17:07:21 -07:00
David Hall 828cd47c12 Potentially Breaking Change: Moved DEVMODE and supporting enums out from Gdi32 class to items under the Vanara.PInvoke namespace. Moved DM_SPECVERSION to const value under DEVMODE struct. 2019-12-02 11:00:18 -07:00
David Hall d66462ca3e Moved DEVMODE structure and supporting enums to PInvoke.Shared. 2019-12-02 10:56:37 -07:00
David Hall 0edc75771c Added CharSet.Unicode attribute to CATALOG_INFO to fix marshaling problem. 2019-11-29 12:44:29 -07:00
David Hall 9494280b8f Fixed structure field order problem with WINDOWINFO (#75) 2019-11-29 08:03:11 -07:00
David Hall ebc448c30a Changed default sizing to int.MaxValue to prevent overruns. 2019-11-27 14:46:08 -07:00
David Hall 8ca39f3530 On IntPtr constructor, removed copying of memory from orig pointer and now just use unowned pointer. 2019-11-27 14:45:38 -07:00
David Hall 142d0d6a41 Added missing value to SID_ENUM_TYPE (#74) 2019-11-27 07:58:18 -07:00
David Hall 6192335362 Added missing structures related to kerberos tickets 2019-11-26 21:32:18 -07:00
David Hall a7b722c8a3 Added SafeLsaMemoryHandleBase.Size as a helper for building structures with IVanaraMarshaler 2019-11-26 21:31:07 -07:00
David Hall 850c6b035a
Added ref to WinClassicSamplesCS 2019-11-26 08:25:30 -07:00
David Hall 8bb754f22e Updated project files to version 3.1.5 2019-11-26 08:20:16 -07:00
David Hall c03b7b3bc5 Updated for 3.1.4 release 2019-11-26 07:15:27 -07:00
David Hall 54ea0cf18c Fixed bug with POLICY_AUDIT_EVENTS_INFO when using 64-bit builds. 2019-11-26 07:14:10 -07:00
David Hall 61fe0f30d8 Changed Marshal.SizeOf to InteropExtensions.SizeOf to account for IVanaraMarshaler instances 2019-11-25 19:36:46 -07:00
David Hall 80b7256543 Changed unspecified size to uint.Max instead of UIntPtr.Max to prevent overflow 2019-11-25 19:32:51 -07:00
David Hall 2036104502 Update project information for 3.1.4 2019-11-25 07:02:08 -07:00
David Hall 2c64bbf832 Added Windows.Forms.App to UnitTest to help test visual controls 2019-11-24 17:12:24 -07:00
David Hall 42643576e8 Improved documentation and fixed some minor bugs 2019-11-24 17:08:47 -07:00
David Hall 8057b34687 Fixed bugs in IPAddressBox and MAKEIPADDRESS 2019-11-24 17:07:55 -07:00
David Hall c7a8f2ce26 Added extension methods for IShellFolder 2019-11-23 20:32:48 -07:00
David Hall 7c5f05b381 Added documentation 2019-11-23 19:00:15 -07:00
David Hall 37b9f50288 BREAKING CHANGE: Fixed problems with STRRET and its use in IShellFolder::GetDisplayNameOf. #73 2019-11-23 18:24:59 -07:00
David Hall 42771630ad Fixed TypeLoad error (#72) for PROPSPECunion. 2019-11-23 08:11:51 -07:00
David Hall e3602f5405 Optimized FindType and added Category to EnumTypeString 2019-11-22 21:27:26 -07:00
David Hall a269cff307 Major overhaul: It now works, fully documented, handles offline creation 2019-11-22 20:11:45 -07:00
David Hall bbdef1b861 Reorg'd, documented and cleaned 2019-11-22 20:09:59 -07:00
David Hall 2e4d6b9c3c Cleaned, reorg'd and added docs 2019-11-22 18:51:38 -07:00
David Hall a862eb740b When no value for Data is set, an exception is thrown. Now it assumes an empty string is the default. 2019-11-22 18:50:54 -07:00
David Hall 9540eedad0 Added error handling for EditSecurityAdvanced in ShowDialog 2019-11-22 18:50:17 -07:00
David Hall dbba1f3220 Added documentation 2019-11-22 18:43:08 -07:00
David Hall b1503bf24e Added check for null pointer before calling SendMessage. 2019-11-22 18:42:51 -07:00
David Hall 02f34294ef Revamped layout of ExplorerBrowser test form. 2019-11-21 18:54:40 -07:00
David Hall 6eb6aca45f Changed to derive from Control, fixed exception when getting folder view, and added padding to design mode text. 2019-11-21 18:54:15 -07:00
David Hall 84665ab472 Fixed PreFilterMessage CPU grab 2019-11-21 17:19:48 -07:00
David Hall b5bdc04a3b Completed work on ExplorerBrowser control. 2019-11-21 16:55:32 -07:00
David Hall 7c944e8d1f Added ExplorerBrowser test project 2019-11-21 16:55:06 -07:00
David Hall 9a28995d28 Added ExplorerBrowser test project 2019-11-21 16:54:32 -07:00
David Hall 42c60bccaa Unchanged PIDL parameters to IntPtr 2019-11-21 16:48:48 -07:00
David Hall 463b4ecefa Changed GetFolderIds extension method to return GUIDs, like the interface method and added GetKnownFolderIds to get the equivalent KNOWNFOLDERID values.
Fixed FreeKnownFolderDefinitionFields.
2019-11-21 16:47:28 -07:00
David Hall 5658b9aad1 Added GetIKnownFolder and Name extension methods. 2019-11-21 16:34:33 -07:00
David Hall ce3dc1a0fe Removed blittable constraint on ToArray and ToEnumerable 2019-11-21 16:33:39 -07:00
David Hall 2c94f7cdde Updated constructor with strong type param 2019-11-20 12:56:03 -07:00
David Hall 8fa4eaf08a Added attributes and strong types to functions and interfaces from ShObjIdl.h 2019-11-20 12:53:25 -07:00
David Hall a94e60820b Reworked memory manipulation functions in InteropExtensions and IntPtrConverter to use new marshaling directives and to drive consistency of use across libs (i.e. call same method to do same work). 2019-11-19 12:52:44 -07:00
David Hall 2727b23092 Updated dependent NuGet packages 2019-11-18 09:10:55 -07:00
David Hall 9771eadebc Converted structures from using IVanaraMarshaler to using SafeAnysizeStructMarshaler attribute 2019-11-16 15:51:16 -07:00
David Hall 9d02afc6e1 Added SafeAnysizeStructMarshaler which is a IVanaraMarshaler implementation for SafeAnysizeStruct<T> 2019-11-16 15:50:23 -07:00
David Hall 2892d1e677 Added cookie handler to marshaler and attribute 2019-11-16 15:48:44 -07:00