Commit Graph

1054 Commits (ee72119e36ec1db4196081f3f76cb2b72676d261)

Author SHA1 Message Date
David Hall 27ab71a4f9 Complete addition of all functions and structures in IpHlpApi.dll with testing 2019-04-24 08:37:19 -06:00
David Hall 0d536c9436 Added new functions and structures from winsock2 2019-04-24 08:36:35 -06:00
David Hall 25502eb898 Work to harden and extend functionality of CallMethodWithTypedBuf 2019-04-24 08:28:58 -06:00
David Hall 348fc7b7f7 Added class to handle linked list of native structures in memory 2019-04-24 08:28:18 -06:00
David Hall 0383068abe Added documentation and protected constructor to allocate just raw memory 2019-04-24 08:27:31 -06:00
David Hall 8770bc4bae Updated documentation, added mem-zeroing on array set 2019-04-24 08:26:50 -06:00
David Hall 2fff530939 Added static FromException method 2019-04-24 08:25:33 -06:00
David Hall 9c97ccfd14 Fixed bug in GetBytes method 2019-04-24 08:24:18 -06:00
David Hall 6531317528 Completed functions for IpHlpApi. Moved some structures into different files. 2019-04-18 20:39:42 -06:00
David Hall dbdcdd2107 Added default size getter and shortened version to CallMethodWithTypedBuf 2019-04-18 20:38:45 -06:00
David Hall 5f4f48e9a7 Updated for v2.3.6 2019-04-17 12:58:30 -06:00
David Hall 26f843a69c Updated project data 2019-04-17 12:51:25 -06:00
David Hall 3a56122887 Updated documentation 2019-04-17 12:51:11 -06:00
David Hall 5597d959c2 Updated documentation 2019-04-17 12:25:05 -06:00
David Hall c92d5228ef Major repairs of WinCon functions and structures. Some breaking changes, but only to fix problems. 2019-04-17 11:43:19 -06:00
David Hall 04b9f4f3ae Put some extra effort into ensuring functions and structures for Kernel32 console worked. Some breaking changes, but they would have been broken anyway. 2019-04-15 14:34:32 -06:00
David Hall 5be3e15570 Update project versions to 2.3.6 2019-04-15 13:45:35 -06:00
David Hall 016766658e Updated project file 2019-04-12 11:38:23 -06:00
David Hall 6691b45642 Updated project file with additions 2019-04-10 13:24:47 -06:00
David Hall 5548ff6c71 Changed generic constraint on Write methods to struct instead of unmanaged 2019-04-10 13:11:06 -06:00
David Hall 7164c624b1 Added missing using statement 2019-04-10 13:10:35 -06:00
David Hall 124549d3f5 Added many new AdvApi32 methods 2019-04-10 12:13:59 -06:00
David Hall 9a76ee5597 Converted MarshalingStream references to NativeMemoryStream. 2019-04-10 12:13:28 -06:00
David Hall 34d48333d6 Corrected documentation errors 2019-04-10 11:28:19 -06:00
David Hall f0ce103165 Updated project file information 2019-04-09 15:20:49 -06:00
David Hall a4f85c035a Use NativeMemoryStream instead of MarshalingStream 2019-04-09 15:17:54 -06:00
David Hall f9c435ba9e Cleaned and added PrinciplePermissionAttribute tags to test methods requiring elevated privileges. 2019-04-09 14:30:10 -06:00
David Hall d007f1babd Lots of work on ACE handling 2019-04-09 11:46:44 -06:00
David Hall 37cceb6db5 BREAKING CHANGE: Removed methods that can cause unpredictable results due to ACE size differences. 2019-04-09 11:46:27 -06:00
David Hall 935fc50bf9 Updated tests for recent changes 2019-04-09 09:19:23 -06:00
David Hall 56abc66d2f Fixed bug in IsRunningAsAdmin when acting on token with TokenElevationTypeLimited flag. (#44) 2019-04-09 09:19:05 -06:00
David Hall 39264cc1ab Separated GetPropertyValue into 2 separate methods and removed type changing to prevent unintended consequences. 2019-04-09 09:16:59 -06:00
David Hall 6f62808fc5 New and additional tests 2019-04-08 19:45:25 -06:00
David Hall 578e84ac80 Updated to match changes to AclUI interfaces. 2019-04-08 19:45:04 -06:00
David Hall 73792290f6 Broke down and finally used an unsafe struct for this. 2019-04-08 19:44:08 -06:00
David Hall 83404805c7 Fixed so InvokeMethod would see private methods 2019-04-08 16:20:19 -06:00
David Hall f841eb3f84 Updated for stream implementation 2019-04-08 12:11:45 -06:00
David Hall 9ed6c463c7 WIP on new generic marshaler 2019-04-08 12:08:29 -06:00
David Hall b2906f6c9a Converted methods to PreserveSig model for all interfaces 2019-04-08 12:06:17 -06:00
David Hall 455f9971d2 Added resources tied to backwards compatible additions 2019-04-08 12:04:00 -06:00
David Hall 8cfcee658d Added much improved native memory stream implementation over MarshalingStream. Use NativeMemoryStream moving forward. It is saver and more function rich. 2019-04-08 12:03:20 -06:00
David Hall 65e1440ec0 Ensured that space in newly allocated memory is zeroed by default. Fixed handling of Size manipulation to zero out bytes added. (bug: it zeroed out everything) 2019-04-08 11:54:24 -06:00
David Hall 51edbded7c Added static Instance properties to IMemoryMethods implementations 2019-04-08 11:42:16 -06:00
David Hall 180dc255d8 Added 'Obsolete' attribute to push users to NativeMemoryStream 2019-04-08 11:41:26 -06:00
David Hall f18f91950d Fixes for handling null pointer and bool 2019-04-08 11:40:43 -06:00
David Hall 7bdc81796e Added AccessControlHelper.GetAces to enumerate aces on an acl. Added 'this' qualifier to turn methods into extension methods in AccessControlHelper. 2019-04-08 11:39:23 -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 a941609f2c Minor optimization of property Position use 2019-04-08 11:25:17 -06:00