Commit Graph

1069 Commits (75a70f2319288bf5f9ae91e39343cfdecc216842)

Author SHA1 Message Date
David Hall 75a70f2319 Fixed bug due to invalid externs 2019-08-22 13:56:16 -06:00
David Hall 196e02e1f4 Completed unit testing and fixes for wincred.h functions 2019-08-21 13:09:39 -06:00
David Hall 9d4758ed5d Added Write methods to SafeMemoryHandleExt. Added size checking from InteropExtension methods. Added offset param to ToStructure. 2019-08-21 10:18:07 -06:00
David Hall d03c88b931 Added SafePEVENTLOGRECORD to make it easier to deal with some very C centric handling of field values. 2019-08-20 15:58:52 -06:00
David Hall 727021fea8 Added event log unit tests and fixes for winbase.h functions. 2019-08-20 10:20:45 -06:00
David Hall 6e70fc0b19 Added ability to get a filename only by passing 'null' to constructor. Fixed disposal so can't error. 2019-08-20 10:20:19 -06:00
David Hall b7cedf436f Changed AdvApiTests.PrivBlock references to shared ElevPriv. 2019-08-19 15:09:06 -06:00
David Hall 2af1e65730 Completed unit tests for winbase.h along with API changes. 2019-08-19 15:08:58 -06:00
David Hall ae467f5bac Added ability to provide token 2019-08-19 15:06:36 -06:00
David Hall a69ebc00ae Added better error handling for estats tests, but still failing 2019-08-17 21:27:08 -06:00
David Hall c3521b7742 MAJOR BREAKING CHANGEs:
1) Obsoleted Vanara.Extensions.InteropExtensions.StructureToPtr for a name change to MarshalToPtr for consistency.
2) Added parameter to all methods reading memory that allows developer to indicate size of allocated memory they read from.
3) Enabled the ability to read/write enum values from memory in all extension methods.
4) Added Write methods for writing to memory
2019-08-17 21:13:57 -06:00
David Hall 86aa2d4b11 Fixed test problems 2019-08-17 21:12:39 -06:00
David Hall 692524a94a Fixed NotifyServiceStatusChange code and unit test 2019-08-17 19:26:09 -06:00
David Hall fb62105f42 Added TypeConverter, MinValue/MaxValue fields, comparison operators, and fixed inconsistent handling of Int32 conversions. 2019-08-17 16:07:02 -06:00
David Hall 246b53dd69 Fixed bug in CanSet method 2019-08-17 16:05:22 -06:00
David Hall ee72119e36 MAJOR BREAKING CHANGE: Moved all extension methods for System.Object to Vanara.Extensions.Reflection namespace to avoid Intellisense overloads with methods that will be rarely used. 2019-08-17 14:42:49 -06:00
David Hall cb0adaf21a Updated GetIntegrityLevel based on fix to GetSidSubAuthority definition 2019-08-16 09:56:43 -06:00
David Hall 8b04dfed0f Corrected based on fix to TOKEN_LINKED_TOKEN.LinkedToken type 2019-08-16 09:56:00 -06:00
David Hall 92ad7b8abe Competed unit tests and fixes for wct.h functions and structures 2019-08-15 16:32:57 -07:00
David Hall 38ab24c904 Completed unit tests and updates to SID functions in SecurityBaseApi.h 2019-08-15 15:36:12 -07:00
David Hall 871ad3b8ce Whew! Lots of work and significant changes coming from completing unit testing and corresponding fixes and additions for SecurityBaseApi.h and WinNT.h. 2019-08-15 10:08:41 -07:00
David Hall c478f33c48 Updated and re-ran after changes 2019-08-15 00:20:29 -07:00
David Hall 18b02b1c77 Added DebuggerDisplay attribute and property. Added factory method to create known capability SID. Added PSID extension methods to mimic some found in SafePSID. 2019-08-15 00:20:08 -07:00
David Hall fd5fb45297 Added improved parameter attributes 2019-08-15 00:18:11 -07:00
David Hall 9b433ba34c Fixed bug in handling of Guid field 2019-08-15 00:16:47 -07:00
David Hall a23ac2d587 Fixed bug when handling enums 2019-08-15 00:16:05 -07:00
David Hall 602f847bd8 Fixed bug in CanGet method when value supported more than one type. 2019-08-15 00:15:43 -07:00
David Hall cba9506edc Completed unit testings and updates for sddl.h functions and wrappers 2019-08-12 09:57:07 -06:00
David Hall 0c798f899f Completed unit testing and fixes for SafePSID and SafePSIDArray 2019-08-12 09:04:53 -06:00
David Hall d95600ecf0 Completed unit tests for processthreadsapi.h in AdvApi32 2019-08-11 16:15:33 -06:00
David Hall 0626a21e17 Complete unit tests and changes for perflib.h 2019-08-11 15:28:41 -06:00
David Hall 29c8cc70a2 Cleaned up comments and enum types 2019-08-10 14:11:50 -06:00
David Hall 7a0acde552 Finished unit testing and updates for ntsecapi.h audit functions 2019-08-10 13:51:36 -06:00
David Hall c3b5693389 Added unit tests for mschapp.h 2019-08-10 13:42:50 -06:00
David Hall a4212024ce Updates for use of PSID 2019-08-09 16:37:09 -06:00
David Hall 0c73576e40 Collapsed SafeLocalPSID into SafePSID. Enhanced SafePSIDArray.
Finished unit testing and changes for Lsa** functions.
2019-08-09 14:18:18 -06:00
David Hall 198a3fafd5 Completed unit testing and fixes for trace event functions. 2019-08-08 14:46:52 -06:00
David Hall 80008ad83e Added GetNestedStructSizes to return list of strings with filtered structure sizes. 2019-08-08 14:46:06 -06:00
David Hall 0ab573c245 Completed unit tests and updates for evntprov.h 2019-08-04 16:58:42 -06:00
David Hall 46fe06ce41 Completed unit tests (non-functional) for appmgmt.h 2019-08-04 16:58:22 -06:00
David Hall 6f6b0e2831 Updated PInvoke.Security coverage 2019-08-04 16:57:41 -06:00
David Hall ed3e865dac Fixed XML docs 2019-08-04 16:57:16 -06:00
David Hall 328bedcf1e Fixed bug #61 where TaskDiaglog.ShowDialog would crash on 64-bit builds when no properties were set. 2019-08-02 16:33:32 -06:00
David Hall 9188b687f1 Added a debug build config w/ no unit tests 2019-08-02 16:25:46 -06:00
David Hall f0aa1d21b3 Updated Microsoft.CodAnalysis package to 3.2.0 2019-08-02 16:25:21 -06:00
David Hall c09b2ec246 Completed unit testing and fixes for aclapi.h functions 2019-08-02 13:42:47 -06:00
David Hall 8dee73c55c Fix null handling bug in WriteValues 2019-08-02 13:42:25 -06:00
David Hall 2354a0f2e3 Finished unit tests and fixes for wow64apiset.h and wtsapi32.h 2019-08-01 19:28:21 -06:00
David Hall 968dbbd2fb Completed unit tests and updates to winnt.h functions and enums 2019-08-01 18:45:44 -06:00
David Hall 3f6303a4df Updated to support other indirect resource strings (from SHLoadIndirectString docs) 2019-08-01 17:54:31 -06:00