Commit Graph

980 Commits (fba697592cdd52dde189c5256ad1acca69653f13)

Author SHA1 Message Date
David Hall fba697592c Moved functions from WinBase.Debugging.cs to DebugApi.cs and added some unit tests 2019-07-23 21:38:21 -06:00
David Hall 724164ceee Reorganized function placement in multiple files for easier retrieval. Finished unit tests and fixes for winbase.h random functions. 2019-07-23 21:18:23 -06:00
David Hall 115f7b08d8 Completed unit tests and fixes for namedpipeapi.h including introduction of HPIPE and SafeHPIPE for pipe handles. 2019-07-23 19:36:59 -06:00
David Hall b473009b71 Fixed Run method errors due to running new exe in temp directory. Moved to unit test's directory. 2019-07-23 14:26:09 -06:00
David Hall 277bddcf58 Removed redundant code from CheckHasValue and used IsValid 2019-07-23 13:52:32 -06:00
David Hall b953ab02f4 Completed unit tests and fixes for WinBase.h COM port related functions 2019-07-22 21:14:45 -06:00
David Hall 607ee9f32b Completed unit tests and updates for WinBase.h tape backup functions 2019-07-22 12:19:53 -06:00
David Hall e3ce94ff0c Completed winbase.h unit tests and fixes for ATOM based functions 2019-07-22 11:49:53 -06:00
David Hall 5f0e30daa2 Completed unit tests and fixes for winbase.h functions related to ActCtx 2019-07-22 11:13:22 -06:00
David Hall 2f5ee5e704 Completed import of all WerApi.h from wer.dll. No unit testing done. 2019-07-20 21:14:53 -06:00
David Hall f0be543188 Added support for Wer.dll as new project Vanara.PInvoke.Wer.dll 2019-07-20 18:27:54 -06:00
David Hall f1a4f2f3e2 Completed unit tests and fixes for wer.h in Kernel32.dll 2019-07-20 18:22:44 -06:00
David Hall d3e749db3f Completed unit testing for VersionHelpers.h 2019-07-20 10:41:56 -06:00
David Hall 57b2c23c1c Completed unit testing and fixes for UtilApiSet.h 2019-07-20 10:29:06 -06:00
David Hall 0d042532a3 Completed unit tests and fixes for TlHelp32.h 2019-07-19 17:32:31 -06:00
David Hall 5b4853db7e Added GetStaticFieldValue method 2019-07-19 17:32:05 -06:00
David Hall f47dc668bc Completed unit tests and fixes for TimeZoneApi.h 2019-07-19 15:22:52 -06:00
David Hall 6126ec8d4c Fixed bugs with constructor not allowing 0 for year and TIcks property not handling default values. 2019-07-19 15:22:26 -06:00
David Hall 1437967f7e Finished unit testing and fixes for threadpoollegacyapiset.h 2019-07-19 10:19:26 -06:00
David Hall e4cd771c40 Added constants from sdkddkver.h 2019-07-17 20:37:06 -06:00
David Hall b531dfc6fa Added functions from versionhelpers.h 2019-07-17 20:36:43 -06:00
David Hall 37c943fe4a Completed unit tests and fixes for threadpoolapiset.h 2019-07-17 15:27:05 -06:00
David Hall 7746a986bf Updated dump and custom constraints test helpers 2019-07-17 13:58:43 -06:00
David Hall 4bb12ff369 Completed unit tests and corrections to systemtopologyapi.h 2019-07-16 21:30:16 -06:00
David Hall c25b34a445 Reorganized 2019-07-16 21:11:38 -06:00
David Hall e194fed546 Completed unit tests and corrections for sysinfo.h 2019-07-16 21:09:40 -06:00
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