Commit Graph

451 Commits (37cceb6db53672996323aa4a759b976c46973252)

Author SHA1 Message Date
David Hall 73792290f6 Broke down and finally used an unsafe struct for this. 2019-04-08 19:44:08 -06:00
David Hall b2906f6c9a Converted methods to PreserveSig model for all interfaces 2019-04-08 12:06:17 -06:00
David Hall a1837a70f5 Added ACCESS_ALLOWED_ACE.GetSid method to extract SafeSID value from structure. Added event structures. Made marshaler for PRIVILEGE_SET safer. Many additions to SafeSecurityDescriptor. 2019-04-08 11:38:00 -06:00
David Hall 9eea42368b Added functions: AccessCheck, AccessCheckByType, AccessCheckByTypeResultList, GetSecurityDescriptorGroup, GetSecurityDescriptorLength, GetSecurityDescriptorSacl, IsValidSecurityDescriptor. Provided helper overloads for GetAclInformation, GetPrivateObjectSecurity. Enhanced SafeHTOKEN class. 2019-04-08 11:35:40 -06:00
David Hall da6113c621 Cleaned up comments 2019-04-08 11:27:09 -06:00
David Hall b8fe8bdf89 Moved GetInheritanceSource helper to PInvoke project 2019-03-16 16:12:25 -06:00
David Hall ffb7879e3f Added AdvApi32 event log methods 2019-03-13 09:58:00 -06:00
David Hall 72a2ceb50c Updated project versions to 2.3.5 2019-03-12 08:05:49 -06:00
David Hall 3d60a65f8d Added full support for cabinet.dll 2019-03-12 08:02:51 -06:00
David Hall 6cffa1feb6 Fixed recursion bug in WNetEnumResources 2019-03-11 08:38:05 -06:00
David Hall 3877cc58bc Pushing point release due to some debug files getting into the NuGet packages 2019-03-08 20:09:11 -07:00
David Hall 1bdbca3d57 Updated projects for version 2.3.3 2019-03-08 12:38:52 -07:00
David Hall 518903ac95 Added CM_RESOURCE_LIST and supporting structures and enums 2019-03-07 10:25:33 -07:00
David Hall 1cef6c3fe4 Reorganized by subgroup settings 2019-03-07 09:43:13 -07:00
David Hall 600cb65672 Fixes and refinements on PowrProf functions 2019-03-07 09:42:35 -07:00
David Hall 1b42ce1df2 Added CorrespondingType attributes and GetValue extension method for REG_VALUE_TYPE 2019-03-07 09:28:20 -07:00
David Hall 708d2fc39d Removed IErrorProvider constraint 2019-03-07 09:27:35 -07:00
David Hall a7cf16cde9 Major overhaul of FormatMessage import functions and helper functions. Minor breaking changes, but worth it! 2019-03-07 09:26:49 -07:00
David Hall dfd7f9a4a2 Derived all error structures from IErrorProvider 2019-03-02 11:09:00 -07:00
David Hall 8c7636aff5 Added PowrProf.dll and all functions 2019-03-01 12:34:56 -07:00
David Hall 00b8227a10 Updated project versions to 2.3.2 2019-02-27 16:53:42 -07:00
David Hall 515fc01852 Completed work on adding all WinUser.h functions 2019-02-27 16:32:18 -07:00
David Hall 89d95791b2 Added High DPI functions from WinUser.h 2019-02-25 14:36:07 -07:00
David Hall 660b895787 Added Pointer Input Messages and Notifications from WinUser.h 2019-02-25 14:08:14 -07:00
David Hall 4e54effcd7 Added input functions from WinUser.h 2019-02-25 12:06:41 -07:00
David Hall ec8fec7902 Updated project files to 2.3.1 2019-02-24 18:54:29 -07:00
David Hall c45e2ddc4c Added DisplayConfigXX functions with all supporting structures and enumerations along with extended methods to simplify coding 2019-02-24 18:41:17 -07:00
David Hall 8b02aed5c5 Added device broadcast message supporting functions and structures 2019-02-24 18:39:30 -07:00
David Hall 8a588b9fc9 Added DefXXXProc functions 2019-02-24 18:38:45 -07:00
David Hall daf01c0de1 Added CopyXX methods for bitmaps, icons and cursors 2019-02-24 18:37:29 -07:00
David Hall eba27e984c Prepped projects for release 2019-02-22 16:11:12 -07:00
David Hall b1e35497d2 Added state flags for offline file caching 2019-02-22 14:29:15 -07:00
David Hall 3af1a60bec Fixed error with WNetCloseEnum when called from SafeWNetEnumHandle, removed redundant WNetOpenEnum function, added wrapper for WNetOpen/Enum/Close called WNetEnumResources. 2019-02-22 09:51:31 -07:00
David Hall 93d6a35e12 Added undocumented structures and enum for access. 2019-02-21 15:32:08 -07:00
David Hall 93a4982951 Changed type of INVALID_FILE_HANDLE to HFILE instead of IntPtr 2019-02-20 15:29:42 -07:00
David Hall 20ad66606d Added code to handle singleton binding of device handles. Risk is if system reuses handle during process execution. 2019-02-20 15:29:06 -07:00
David Hall 91ad5730b6 Update project versions to 2.3.0 2019-02-20 11:08:59 -07:00
David Hall b5774816ad Attempt to fix #41 2019-02-20 11:02:06 -07:00
David Hall f3d5187ef5 Added some winsock2 functions 2019-02-20 10:50:17 -07:00
David Hall b7dccd02f0 Completed work on NetApi32 2019-02-19 21:55:13 -07:00
David Hall bef4a869ba Added SafeHANDLE to HANDLE implicit operator and adjusted SafeHANDLE == operator to address `default` values (#40). 2019-02-19 14:16:44 -07:00
David Hall 8e492cf04c Added more NetApi32 functions (AT and DFS) 2019-02-19 12:44:36 -07:00
David Hall 8a8b265834 ToString methods added to LsaForest structures 2019-02-18 14:28:34 -07:00
David Hall af83c80249 Lots of NetApi32 additions 2019-02-18 14:27:57 -07:00
David Hall 20adde08ae Added LsaForestTrustInformation.FromBuffer static method to create a new instance from a pointer. 2019-02-16 18:17:18 -07:00
David Hall 6e8a3adabc Added support for testing platform validity against PInvoke.MinClient attribute. 2019-02-16 17:41:14 -07:00
David Hall e99a0eff51 Major rework of LSA_FOREST_TRUST_INFORMATION by supplying a helper class (LsaForestTrustInformation) that makes the creation of it very .NET happy. Simply fill out the class with entries you need and then call DangerousGetLSA_FOREST_TRUST_INFORMATION() to build the structure. Also improved comments as I found more detail. 2019-02-16 17:40:12 -07:00
David Hall 14aae2dd59 Updated attributes on IOpenControlPanel 2019-02-15 14:40:09 -07:00
David Hall 5d787522b0 Added WebDAV and NetShare functions 2019-02-12 13:26:31 -07:00
David Hall 05887bfac4 Updated project files for release 2019-02-11 19:38:05 -07:00