Commit Graph

1262 Commits (42c60bccaa33599ded1668530b2d69fcba7f75fb)

Author SHA1 Message Date
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
David Hall 79ad7b8452 Added CanGet method to pull when enum is not found 2019-11-16 15:47:02 -07:00
David Hall 2eab8af7eb Changed project versions to 3.1.4 2019-11-13 23:07:14 -05:00
David Hall 054b01b37d Fixed bug in MatchesLookupPattern (#71) 2019-11-13 23:06:39 -05:00
David Hall f3716aefb7 Added generic helper functions for query and set. 2019-11-13 23:05:25 -05:00
David Hall e4959743fc Converted structures that supported IMarshalDirective to IVanaraMarshaler 2019-11-13 23:04:48 -05:00
David Hall 8f289e2760 Changed to support IVanaraMarshaler requiring addition of size parameter to some methods. 2019-11-13 23:02:51 -05:00
David Hall ba49b74b73 Removed IMarshalDirective and created IVanaraMarshaler with supporting attribute and helper class. 2019-11-13 23:02:11 -05:00
David Hall 035f6ce631 Updated project files for v3.1.3 2019-11-08 08:29:33 -07:00
David Hall baa2785a7c Added all VARIANT functions except the specific conversions 2019-11-08 08:09:08 -07:00
David Hall 7daa0080ea More work on OleAut32 functions 2019-11-07 22:25:08 -07:00
David Hall 852cf8459b Lots of additions to OleAut32 -- most interfaces and functions from oaidl.h 2019-11-06 22:14:46 -07:00
David Hall 7f6c787af1 BREAKING CHANGE: moved interfaces and VARIANT from oaidl.h into Vanara.PInvoke.OleAut32 from Ole32 as they are actually hosted there. This required some changes to supproting code. 2019-11-06 22:13:59 -07:00
David Hall bfd863bfe6 XML Comment corrections (bad params, bad refs, bad syntax). 2019-11-05 22:52:45 -07:00
David Hall af010e4fb4 Added documentation and cleaned formatting 2019-11-05 18:04:15 -07:00
David Hall 76849b7f6f Added documentation 2019-11-05 16:20:52 -07:00
David Hall b7729753da Added test for #70. 2019-11-05 11:08:06 -07:00
David Hall ab4bf050f2 Fix to prevent exceptions when both extended and basic limits are set on a job. (#70) 2019-11-05 11:01:43 -07:00
David Hall ab05da0688 Finished adding all functions from WinTrust.dll 2019-11-05 10:29:02 -07:00
David Hall 8d2ee3eb2e Added a bunch of functions from wintrust.dll 2019-11-04 23:04:47 -07:00
David Hall 2723d06061 Added TokenMandatoryPolicy enum for use by TOKEN_MANDATORY_POLICY 2019-11-04 13:54:15 -07:00
David Hall 8066f58f27 Removed unused comments 2019-11-04 12:59:36 -07:00
David Hall 74a151e35e Modified PROPSHEETHEADER to use ResourceId and ResourceIdOrHandle for fields that can be different resource types. 2019-11-04 12:59:16 -07:00
David Hall a060052f3b Added ResourceIdOrHandle<THandle> to represent a resource string, id or handle union 2019-11-04 12:58:33 -07:00
David Hall da9aa6586a Removed duplicates in Release Notes for PInvoke.Kernel32 2019-11-04 08:20:03 -07:00
David Hall 0eb05fc0b0 Updated project info for 3.1.2 release 2019-11-04 06:49:29 -07:00
David Hall 06330a6bbe Added TOKEN_GROUPS test 2019-11-03 22:27:39 -07:00
David Hall f196cb9baf Improved object disposal in SafeHTOKEN.FromThread 2019-11-03 21:28:34 -07:00
David Hall 803b31f094 Added SID_AND_ATTRIBUTES.ToString 2019-11-03 21:27:51 -07:00
David Hall 6669249944 Added error handling to PSID.ToString("D") 2019-11-03 21:27:26 -07:00
David Hall 4beb2c77bc Fixed unterminated string bug in LSA_UNICODE_STRING.ToString and implicit operator. 2019-11-03 21:26:43 -07:00
David Hall 296a559eda Added SafeAnysizeStruct to help marshal stuctures with a 1-element field at the end that can be variable size. Adjusted all structs of this type to use this to marshal along with tests and supported classes.
BREAKING CHANGE: This forced the removal of PTOKEN_PRIVILEGES as that functionality is now in a shared marshaling class.
2019-11-03 16:02:54 -07:00
David Hall 31775c94f0 Fixed CallMethodWithTypedBuf to only set value on success. 2019-11-03 16:01:49 -07:00
David Hall 4143c8767e Added IMarshalDirective interface as a means for IntPtrConverter.Convert to handle odd marshal behavior 2019-11-03 16:00:13 -07:00
David Hall 5b5c316b99 Added RtlCopyMemory and RtlFillMemory functions 2019-10-31 11:48:00 -06:00
David Hall 9ade2c8bd1 Added copy constructor to SafeMemoryHandle and consolidated initialization 2019-10-31 11:47:04 -06:00
David Hall bb3435550f Added SafeAllocatedMemoryHandle.TakeOwnership method to take control of the allocated memory. 2019-10-29 10:44:02 -06:00
David Hall 835487e466 Added GetOrderedFields Type extension method. 2019-10-29 10:43:18 -06:00
David Hall f9c8100443 More ioctrl additions 2019-10-27 08:24:13 -06:00
David Hall 48608feb75 More ioctl additions 2019-10-26 10:23:04 -06:00