Commit Graph

740 Commits (ddbdbb011df87cfe8de7f4081863cfac60e73475)

Author SHA1 Message Date
David Hall 6065013993 Completed unit tests and updates for winefs.h functions. 2019-08-23 14:05:09 -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 196e02e1f4 Completed unit testing and fixes for wincred.h functions 2019-08-21 13:09:39 -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 2af1e65730 Completed unit tests for winbase.h along with API changes. 2019-08-19 15:08:58 -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 692524a94a Fixed NotifyServiceStatusChange code and unit test 2019-08-17 19:26:09 -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 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 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 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 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 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 0ab573c245 Completed unit tests and updates for evntprov.h 2019-08-04 16:58:42 -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 c09b2ec246 Completed unit testing and fixes for aclapi.h functions 2019-08-02 13:42:47 -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 ec7450eb99 Completed unit tests and fixes for winnls.h functions 2019-08-01 16:29:31 -06:00
David Hall bbe5f6002c Simplified GetEnvironmentStrings 2019-07-31 20:36:02 -06:00
David Hall 620d9dde7f Reorganized SetEnvironmentStrings methods 2019-07-31 20:18:20 -06:00
David Hall 1fe23556ac For null terminated string arrays, used custom marshaler to simplify input parameters. 2019-07-31 20:03:19 -06:00
David Hall 99db4ab7eb Updated completed unit tests for wincon.h and winbase.h console functions 2019-07-30 10:29:40 -06:00
David Hall 74e52ff4df Tested as much of the UMS functions as possible and corrected/updated them as needed. 2019-07-27 19:58:22 -06:00
David Hall ae0251ded9 Changed structure input parameter to CreateFromStructure to 'in' for memory classes 2019-07-27 13:05:10 -06:00
David Hall 683280a945 Updated constructors of all SafeAllocatedMemory derivatives to use SizeT instead of int for the size parameter. 2019-07-27 12:48:33 -06:00
David Hall d7420b6770 Completed unit test (non-functional) for TxF file functions in winbase.h 2019-07-26 22:14:02 -06:00
David Hall b41333421f Finished unit tests and fixes for winbase.h time functions 2019-07-26 21:52:35 -06:00
David Hall 4ef4ece88f Finished unit tests and fixes for winbase.h resource functions 2019-07-26 16:44:17 -06:00
David Hall e0aa2e8781 Finished unit tests and fixes for winbase.h profile functions 2019-07-26 09:43:19 -06:00
David Hall 3f68b4f114 Renamed ControlCallback to TraceControlCallback to avoid naming conflict with delegate in perflib.h 2019-07-25 20:37:25 -06:00
David Hall d32459bb5f Fixed function attribute 2019-07-25 20:31:10 -06:00
David Hall fa9ba9ff74 Changed names of delegates where existing ALLCAP name was a reference to another name. Could be a breaking change. 2019-07-25 20:25:24 -06:00
David Hall 42630dd833 BREAKING CHANGE: Changed type of SafeAllocatedMemoryHandle.Size property from int to SizeT so that it more easily converts to different types used in memory size functions. 2019-07-25 19:46:45 -06:00
David Hall 9b42ed675c Moved SizeT into Vanara.Core 2019-07-25 18:51:11 -06:00
David Hall 0caca64a6d Finished unit testing and fixes for winbase.h process, thread and numa functions 2019-07-25 18:36:28 -06:00
David Hall 99cf640a97 Completed unit tests and fixes for winbase.h power functions 2019-07-25 15:05:48 -06:00
David Hall dc9bc0f492 Completed unit testing and fixes for winbase.h memory functions 2019-07-25 14:29:48 -06:00
David Hall 3b33b9ac4c Finished unit tests and fixes for winbase.h mailslot functions 2019-07-25 14:22:19 -06:00
David Hall 2dca231e54 Moved in MapUserPhysicalPagesScatter and updated unit tests 2019-07-25 14:21:43 -06:00
David Hall 6d19170219 Completed unit tests and fixes for winbase.h library functions 2019-07-25 13:19:31 -06:00
David Hall ff905a3c01 Completed unit testing, fixes and code reorganization for fileapi.h and winbase.h file functions. 2019-07-25 12:10:04 -06:00
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 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 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 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 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 3454e9d34f Added unsafe CreateThread overload and changed PTHREAD_START_ROUTINE to ThreadProc 2019-07-16 11:53:20 -06:00
David Hall ceff4504f0 Changed to BitHelper broke too much so reverted. 2019-07-16 07:43:10 -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 8a0888da0e Removed empty file 2019-07-13 16:28:02 -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 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 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 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