Commit Graph

1054 Commits (ee72119e36ec1db4196081f3f76cb2b72676d261)

Author SHA1 Message Date
David Hall 026367d15a Added SerializableAttribute 2019-07-16 21:08:57 -06:00
David Hall c2b9622085 Added extra char to CallMethodWithStrBuf in cases where string length doesn't include NULL terminator. 2019-07-16 21:08:31 -06:00
David Hall 8212255858 Completed unit testing and fixes for synchapi.h 2019-07-16 13:32:53 -06:00
David Hall cb3465e603 Fixed ValueConstraint having success factor flipped 2019-07-16 12:19:40 -06:00
David Hall 3454e9d34f Added unsafe CreateThread overload and changed PTHREAD_START_ROUTINE to ThreadProc 2019-07-16 11:53:20 -06:00
David Hall bcac2e835b Completed work on Value constraint 2019-07-16 07:43:56 -06:00
David Hall 1c8ea5836d Fixed GetUNCServer 2019-07-16 07:43:32 -06:00
David Hall ceff4504f0 Changed to BitHelper broke too much so reverted. 2019-07-16 07:43:10 -06:00
David Hall 6eb0aa354d Added ToInt64, TimeSpan.ToFileTimeStruct, and ToTimeSpan methods for FILETIME and modified ToString method so that it will display a TimeSpan value if negative. 2019-07-13 21:39:13 -06:00
David Hall 94f1fdb9cb Updated and corrected code from StringApiSet.h with unit tests 2019-07-13 17:07:35 -06:00
David Hall 676598db55 Converted test dumper for ObjectDumper to Json serialization 2019-07-13 16:28:44 -06:00
David Hall 8a0888da0e Removed empty file 2019-07-13 16:28:02 -06:00
David Hall 379e23ccb9 Added conversion methods To and ToEnum for fast conversions. 2019-07-13 16:27:46 -06:00
David Hall e63b1b3a47 Rearranged unit testing helper methods into Shared test project. Pulled all shared code into new project. 2019-07-12 16:58:24 -06:00
David Hall f9f7068a9d BREAKING CHANGE: Moved SecurityBaseApi.h functions to PInvoke.Security even though they live in Kernel32. Simplifies structure access and Security depends on Kernel32 anyway. 2019-07-12 16:57:28 -06:00
David Hall ba13536089 Added ACL revision constants 2019-07-12 13:46:24 -06:00
David Hall a2088da9aa Added SafePACL and CLAIM_SECURITY_ATTRIBUTES* structures 2019-07-12 13:45:36 -06:00
David Hall 8c0069a1a4 Fixed params on GetAclInformation 2019-07-12 13:44:42 -06:00
David Hall 0ca6f73c23 Added Everyone static field to SafePSID 2019-07-12 13:44:14 -06:00
David Hall 2f5ca286f5 Added BuildSecurityDescriptor overload for NULL values 2019-07-12 13:43:44 -06:00
David Hall 64b2911d5e BREAKING CHANGE: Changed CorrepsondingAction to CorrespondingAction due to misspelling. 2019-07-12 09:49:54 -06:00
David Hall 3df4a4af97 BREAKING CHANGE: Renamed SafeSECURITY_DESCRIPTOR to SafePrivateObjectSecurity and SafeSecurityDescriptor to SafePSECURITY_DESCRIPTOR due to inconsistency in framework leading to numerous misuse instances. Sorry! 2019-07-12 09:47:46 -06:00
David Hall 5fed9eda66 Updated GetAppContainerNamedObjectPath with better params, docs, unit test and error 2019-07-11 15:13:00 -06:00
David Hall db7652bc21 Made unit tests for and fixed all functions from rtlsupportapi.h 2019-07-11 14:52:17 -06:00
David Hall c05c582a90 Fixed size of PSAPI_WORKING_SET_INFORMATION 2019-07-11 06:55:15 -06:00
David Hall 15fe2603ff Added and moved unit tests 2019-07-10 15:34:48 -06:00
David Hall 40db674d11 Added custom NUnit constraint to handle looking at functions that return HRESULT, Win32Error, NTStatus or bool with GetLastError. 2019-07-10 15:33:58 -06:00
David Hall 9ab48daa88 Updated BitHelper references 2019-07-10 15:32:48 -06:00
David Hall 0d50ee7fc6 Added some missing values 2019-07-10 15:32:17 -06:00
David Hall 029c35262e Fixed and updated functions in realtimeapiset.h
Added unit tests
2019-07-10 15:32:02 -06:00
David Hall 6404870776 Added unit tests for psapi.h
Fixed functions that were broken or incomplete
Added helper methods for enumerations
2019-07-10 11:30:10 -06:00
David Hall 0905e01329 Updated docs and added unit tests for profileapi.h 2019-07-10 11:28:36 -06:00
David Hall 1996fadd69 Made GetBit and GetBits extension methods 2019-07-10 11:27:04 -06:00
David Hall dedf7742df Updated docs and unit tests for processtopologyapi.h 2019-07-09 14:59:50 -06:00
David Hall 846518843b Major rework of all process and thread functions with full unit testing. Many breaking changes. 2019-07-09 14:49:40 -06:00
David Hall 025e6529de Added CreateOrDefault method to get best default value for a structure. Added InvokeStaticMethod to allow for calling a static method generically. 2019-07-09 09:23:41 -06:00
David Hall 0dc30ffa2f Added DebuggerDisplayAttribute to all handles to show the handle value. Added implicit conversion from Process to HPROCESS. 2019-07-09 09:22:37 -06:00
David Hall 63c67871aa Added DebuggerDisplayAttribute for all classes to show pointer and string values. 2019-07-08 11:37:32 -06:00
David Hall b38d750c51 FIxed missing union in DISPLAYCONFIG_MODE_INFO 2019-07-07 08:45:09 -06:00
David Hall 96998e7c82 Added SafeAUTHZ_SOURCE_SCHEMA_REGISTRATION to support new AuthzEnumerateSecurityEventSources overload. Removed AUTHZ_SOURCE_SCHEMA_REGISTRATION_IN in lieu of better use of AUTHZ_SOURCE_SCHEMA_REGISTRATION. 2019-07-03 14:47:25 -06:00
David Hall ffed6e252a Added constructor to allow for ReadOnly use. 2019-07-03 14:45:15 -06:00
David Hall a360548771 Added Equals override and new GuidPtr structure. 2019-07-03 14:44:16 -06:00
David Hall c374ab2cff Added ability to read nullable structure, fixed bug in WriteObject 2019-07-03 14:43:47 -06:00
David Hall 4905441377 Added pointer value in front of string with optional params to remove. 2019-07-03 14:42:51 -06:00
David Hall b78deacf02 Added CreateProcessAsUser with STARTUPINFOEX param 2019-06-26 17:49:08 -06:00
David Hall 36c538f872 Added SECURITY_CAPABILITIES and UMS_CREATE_THREAD_ATTRIBUTES 2019-06-26 17:48:17 -06:00
David Hall c3dac3adc6 Major overhaul (BREAKING) and fixes of functions in ProcessSnapshot.h 2019-06-26 13:49:19 -06:00
David Hall da3fac4ae4 Fixed and enhanced processenv.h functions 2019-06-25 20:07:28 -06:00
David Hall 6649425ebb Fixed and extended functions from PathCch.h 2019-06-25 19:00:24 -06:00
David Hall 19d8a8d396 Fixed XML comments 2019-06-25 17:28:19 -06:00