Commit Graph

1086 Commits (d89a9df2a534a55d9929a422394d35110600b78e)

Author SHA1 Message Date
David Hall d89a9df2a5 With so many breaking changes, I decided to roll the version to 3.0.0. 2019-08-27 12:42:33 -06:00
David Hall 46b2f5aad1 Fixed PInvokeData attribute on GetCommandLIne 2019-08-27 12:26:55 -06:00
David Hall ddcd9da017 Missed the rename to REGSAM 2019-08-27 11:59:23 -06:00
David Hall b80ce7f131 Completed unit testing and fixes for all schannel.h, secur32.h and sspi.h functions 2019-08-27 11:45:05 -06:00
David Hall 3a1d6548b3 Added BOOL and BOOLEAN types 2019-08-27 09:05:48 -06:00
David Hall 4a25d8dc25 Added comparison operators and methods 2019-08-27 08:41:39 -06:00
David Hall 763407f6f7 Completed unit tests and changes for winsvc.h functions 2019-08-27 08:25:35 -06:00
David Hall 86ad257ff6 Added ThrowUnless and static ThrowLastErrorUnless methods 2019-08-27 08:25:12 -06:00
David Hall 6cd8448d9a Renamed files 2019-08-26 15:15:39 -06:00
David Hall 869189f4d2 Renamed ServiceTests to WinSvcTests.cs for consistency. 2019-08-26 15:15:16 -06:00
David Hall fa274e0d61 Completed unit tests and updates for winsafer.h functions 2019-08-26 15:08:09 -06:00
David Hall 61637818d6 Finished unit testing and corrections for winreg.h functions 2019-08-26 13:08:42 -06:00
David Hall 50a8a10a54 Cleaned and reorganized 2019-08-23 14:38:53 -06:00
David Hall 6065013993 Completed unit tests and updates for winefs.h functions. 2019-08-23 14:05:09 -06:00
David Hall 15ffe13254 Added ability to get CharSet and resize by setting Capacity property. 2019-08-23 11:52:14 -06:00
David Hall 45ea5993c6 Added create/open flags to CreationOption enum 2019-08-22 13:57:51 -06:00
David Hall c532e6061f Made indexer related properties virtual 2019-08-22 13:57:03 -06:00
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