David Hall
5658b9aad1
Added GetIKnownFolder and Name extension methods.
2019-11-21 16:34:33 -07:00
David Hall
8fa4eaf08a
Added attributes and strong types to functions and interfaces from ShObjIdl.h
2019-11-20 12:53:25 -07:00
David Hall
a94e60820b
Reworked memory manipulation functions in InteropExtensions and IntPtrConverter to use new marshaling directives and to drive consistency of use across libs (i.e. call same method to do same work).
2019-11-19 12:52:44 -07:00
David Hall
9771eadebc
Converted structures from using IVanaraMarshaler to using SafeAnysizeStructMarshaler attribute
2019-11-16 15:51:16 -07:00
David Hall
9d02afc6e1
Added SafeAnysizeStructMarshaler which is a IVanaraMarshaler implementation for SafeAnysizeStruct<T>
2019-11-16 15:50:23 -07:00
David Hall
2eab8af7eb
Changed project versions to 3.1.4
2019-11-13 23:07:14 -05:00
David Hall
f3716aefb7
Added generic helper functions for query and set.
2019-11-13 23:05:25 -05:00
David Hall
e4959743fc
Converted structures that supported IMarshalDirective to IVanaraMarshaler
2019-11-13 23:04:48 -05:00
David Hall
035f6ce631
Updated project files for v3.1.3
2019-11-08 08:29:33 -07:00
David Hall
baa2785a7c
Added all VARIANT functions except the specific conversions
2019-11-08 08:09:08 -07:00
David Hall
7daa0080ea
More work on OleAut32 functions
2019-11-07 22:25:08 -07:00
David Hall
852cf8459b
Lots of additions to OleAut32 -- most interfaces and functions from oaidl.h
2019-11-06 22:14:46 -07:00
David Hall
7f6c787af1
BREAKING CHANGE: moved interfaces and VARIANT from oaidl.h into Vanara.PInvoke.OleAut32 from Ole32 as they are actually hosted there. This required some changes to supproting code.
2019-11-06 22:13:59 -07:00
David Hall
bfd863bfe6
XML Comment corrections (bad params, bad refs, bad syntax).
2019-11-05 22:52:45 -07:00
David Hall
ab05da0688
Finished adding all functions from WinTrust.dll
2019-11-05 10:29:02 -07:00
David Hall
8d2ee3eb2e
Added a bunch of functions from wintrust.dll
2019-11-04 23:04:47 -07:00
David Hall
2723d06061
Added TokenMandatoryPolicy enum for use by TOKEN_MANDATORY_POLICY
2019-11-04 13:54:15 -07:00
David Hall
8066f58f27
Removed unused comments
2019-11-04 12:59:36 -07:00
David Hall
74a151e35e
Modified PROPSHEETHEADER to use ResourceId and ResourceIdOrHandle for fields that can be different resource types.
2019-11-04 12:59:16 -07:00
David Hall
a060052f3b
Added ResourceIdOrHandle<THandle> to represent a resource string, id or handle union
2019-11-04 12:58:33 -07:00
David Hall
da9aa6586a
Removed duplicates in Release Notes for PInvoke.Kernel32
2019-11-04 08:20:03 -07:00
David Hall
0eb05fc0b0
Updated project info for 3.1.2 release
2019-11-04 06:49:29 -07:00
David Hall
f196cb9baf
Improved object disposal in SafeHTOKEN.FromThread
2019-11-03 21:28:34 -07:00
David Hall
803b31f094
Added SID_AND_ATTRIBUTES.ToString
2019-11-03 21:27:51 -07:00
David Hall
6669249944
Added error handling to PSID.ToString("D")
2019-11-03 21:27:26 -07:00
David Hall
4beb2c77bc
Fixed unterminated string bug in LSA_UNICODE_STRING.ToString and implicit operator.
2019-11-03 21:26:43 -07:00
David Hall
296a559eda
Added SafeAnysizeStruct to help marshal stuctures with a 1-element field at the end that can be variable size. Adjusted all structs of this type to use this to marshal along with tests and supported classes.
...
BREAKING CHANGE: This forced the removal of PTOKEN_PRIVILEGES as that functionality is now in a shared marshaling class.
2019-11-03 16:02:54 -07:00
David Hall
31775c94f0
Fixed CallMethodWithTypedBuf to only set value on success.
2019-11-03 16:01:49 -07:00
David Hall
5b5c316b99
Added RtlCopyMemory and RtlFillMemory functions
2019-10-31 11:48:00 -06:00
David Hall
f9c8100443
More ioctrl additions
2019-10-27 08:24:13 -06:00
David Hall
48608feb75
More ioctl additions
2019-10-26 10:23:04 -06:00
David Hall
9daa94452f
Added remaining CSIDL_* constants and cleaned.
2019-10-25 18:57:11 -06:00
David Hall
e157e1b7f0
Added all the typelib interfaces from Shell32.dll
2019-10-25 18:56:02 -06:00
David Hall
6d4dc46131
All the CSIDL* and SID_S* constants have been added.
2019-10-25 18:03:30 -06:00
David Hall
e8b4ad952b
Updated internal class to adhere to new IFileSystemBindData2 definition
2019-10-23 19:21:06 -06:00
David Hall
49f100a432
Made IFileSystemBindData and IFileSystemBindData2 implementations able to support implementations
2019-10-23 18:25:17 -06:00
David Hall
6bbea01b83
Fixed incorrect Guid for IShellFolderViewDual
2019-10-23 14:27:38 -06:00
David Hall
6ef7235bf3
Update project versions to 3.1.2
2019-10-23 13:44:41 -06:00
David Hall
cd286d7f51
Fixed syntax
2019-10-23 13:06:06 -06:00
David Hall
457a71d750
Added FILEOP_FLAGS.FOF_NO_UI
2019-10-23 12:08:40 -06:00
David Hall
2fc34f963d
Fixed marshal parameter on ICondition::GetSubConditions
2019-10-23 12:08:10 -06:00
David Hall
5be7829f55
Corrected parameters in SHCreateShellItemArray
2019-10-23 12:07:31 -06:00
David Hall
b6bc1544c6
Updated attributes and some parameters in IShellWindows
2019-10-23 12:07:06 -06:00
David Hall
33765e40ee
Fixed condition on IEnumFromCom where TryGet looped forever.
2019-10-23 12:06:32 -06:00
David Hall
376b4576ea
Fixed bug and docs for Enumerate<T> method
2019-10-23 12:05:56 -06:00
David Hall
88a34bf970
Added IDispatch interface
2019-10-23 12:05:09 -06:00
David Hall
8ae1d17c2f
Added structure sizes to help with conversion
2019-10-22 08:29:07 -06:00
David Hall
3917cd63ca
Added optional parameter attributes
2019-10-22 08:28:33 -06:00
David Hall
9dbac0935c
Fixed incorrect parameter type in ISearchFolderItemFactory::SetFolderTypeID
2019-10-22 08:27:58 -06:00
David Hall
c0d841f06d
Added IEnumUnknown generics implementation
2019-10-22 08:27:07 -06:00
David Hall
8bd79dd5ea
Added a generic IEnumerator implementation
2019-10-22 08:26:16 -06:00
David Hall
f09713991a
Updated BITS documentation (added remarks and code examples), cleanup up code and optimized single file copy in wrapper.
2019-10-22 08:25:34 -06:00
David Hall
f998fb4861
Added all codes, enums and requested ( #67 ) structures from winioctl.h. Many structures left to finish.
2019-10-20 13:49:19 -06:00
David Hall
dee8220068
Update project file information and version to 3.1.1.
2019-10-17 13:43:37 -06:00
David Hall
8812c2cec3
Corrected, extended and added docs for job and completion port functions
2019-10-17 11:29:18 -06:00
David Hall
f649adbc24
Added IUserHandle reference to all user object handles.
2019-10-17 11:21:20 -06:00
David Hall
b393d908a3
Added property to GROUP_AFFINITY to make it easier to get/set the list of affinitized processors.
2019-10-17 09:15:36 -06:00
David Hall
94859900b7
Added support for PROCESS_MEMORY_COUNTERS_EX in GetProcessMemoryInfo
2019-10-17 09:14:33 -06:00
David Hall
4451258143
ADDED: Support for .NET Core 3.0 in all projects!!
...
Updated project files to version 3.1.0, changed icon to embedded NuGet resource rather than link, consolidated dependency conditions in project files, and updated all NuGet dependencies.
2019-10-03 13:35:16 -06:00
David Hall
5d7c2a57e4
Corrected build error with FloodFill function and enum. #65
2019-10-02 08:27:31 -06:00
David Hall
93225d0676
Stubbed remaining Gdi32 functions
2019-10-01 20:27:59 -06:00
David Hall
cdefc7b3dc
Added RECT.Empty field
2019-10-01 17:51:05 -06:00
David Hall
03344e7e77
Added all Gdi32 functions excluding printer, ddi and script calls
2019-10-01 17:45:45 -06:00
David Hall
ddbdbb011d
Stubbed out missing functions
2019-09-30 20:37:04 -06:00
David Hall
cd0819e08b
Added headerSize to constructors' parameters from base
2019-09-30 20:36:28 -06:00
David Hall
0d92eb39b8
Added HCOLORSPACE
2019-09-25 14:13:54 -05:00
David Hall
9ecdceed2f
Updated project documentation for 3.0.1 release
2019-09-20 13:24:06 -06:00
David Hall
b309f90b22
Fixed DllImport error with PrivateXX funcs
2019-09-20 13:23:41 -06:00
David Hall
a7af7ccbd4
Completed all unit tests and function changes for all functions in WinInet.dll
2019-09-20 13:04:38 -06:00
David Hall
8b02747d2f
Fixes per #63
2019-09-19 08:10:53 -06:00
David Hall
804c4a946d
Fixed compiler warnings
2019-09-18 15:33:26 -06:00
David Hall
4d434826b4
Undid last doc edit
2019-09-17 09:07:08 -06:00
David Hall
6db3256757
Added custom marshaler for arrays of string pointers
2019-09-16 07:57:52 -06:00
David Hall
da3fad8c40
Moved URLZONE enum up to to Pinvoke/Shared assembly
2019-09-16 07:56:00 -06:00
David Hall
97995b9464
Added SC_* values for WM_SYSCOMMAND ( #62 )
2019-09-16 06:53:14 -06:00
David Hall
dffada3d24
Updated project files
2019-09-10 19:36:28 -06:00
David Hall
1053fb4e05
Added remainder of propsys.dll functions, putting two in the Shell32 assembly due to dependencies.
2019-09-10 19:28:09 -06:00
David Hall
ce4a6a46a4
Added remaining functions and supporting interfaces from Ole32.dll
2019-09-10 13:57:38 -06:00
David Hall
3eef0a5c88
Updated project files
2019-09-10 13:56:23 -06:00
David Hall
8488bc6ddb
Added missing NCrypt.dll functions
2019-09-10 13:30:24 -06:00
David Hall
f36c3fcee9
Added Obsolete tag to StandardClipboardFormat to push towards using CLIPFORMAT
2019-09-10 13:29:56 -06:00
David Hall
00d728f82e
Added HTASK
2019-09-10 13:29:20 -06:00
David Hall
7bde9acc38
Fixed documentation
2019-09-10 13:28:59 -06:00
David Hall
3b2cce8893
Added CLIPFORMAT type
2019-09-10 13:28:40 -06:00
David Hall
49ccdb354b
Finished adding functions from ncrypt.dll
2019-09-07 17:02:59 -06:00
David Hall
bbd1ab47a5
Added ncrypt.h functions
2019-09-06 15:27:23 -06:00
David Hall
2497e39ef1
Added new functions from vertdll.dll
2019-09-06 08:17:17 -06:00
David Hall
2a06438cd4
Updated project doc
2019-09-05 21:30:41 -06:00
David Hall
10533cadb8
Corrected project docs for SearchApi project
2019-09-05 21:21:49 -06:00
David Hall
846783b115
Updated project documentation
2019-09-05 21:03:18 -06:00
David Hall
4322becff6
Added better documentation
2019-09-05 19:59:25 -06:00
David Hall
c3ee660228
Completed unit tests and updates for pdh.dll
2019-09-05 15:32:41 -06:00
David Hall
d56d9486e7
Updated project information to version 3.0.1, added DLL references, and updated markdown files.
2019-09-04 14:11:25 -06:00
David Hall
4012278106
Added support for Pdh functions in pdh.dll. Some unit tests completed.
2019-09-03 16:54:41 -06:00
David Hall
4cae44c14e
Added explicit operator to uint
2019-09-02 17:09:39 -06:00
David Hall
be728e1b29
Added extension methods that use FormatMessage to an errors descriptive text.
2019-09-02 17:09:01 -06:00
David Hall
687d01e099
Added StructHelper with methods to get pointers for field values.
2019-08-29 19:56:55 -06:00
David Hall
5581c712eb
Fixed bug with implicit conversion to SafeEventHandle from SafeWaitHandle. Should have been EventWaitHandle.
2019-08-29 19:56:08 -06:00
David Hall
83560454ab
Added assembly for KtmW32.dll functions and supporting unit tests
2019-08-28 15:23:56 -06:00
David Hall
1f7c469a09
Removed rogue condition in project file
2019-08-28 13:37:55 -06:00
David Hall
26c4f6df11
Updated for 3.0.0 release
2019-08-27 16:48:15 -06:00
David Hall
4bfc2c06cd
Fixed unit tests after combining User32 and User32.Gdi
2019-08-27 16:40:45 -06:00
David Hall
6b8e0ccf58
Combined PInvoke.User32 and PInvoke.User32.Gdi and updated all dependencies.
...
Added .NET Standard 2.0 and .NET Core 2.0 and 2.1 support to all projects except Windows.Forms and Windows.Shell
2019-08-27 16:03:21 -06:00
David Hall
8d318e0312
Fixed XML doc issues
2019-08-27 14:55:55 -06:00
David Hall
f9429f6dd9
Fixed XML comment problems
2019-08-27 14:45:38 -06:00
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
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
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
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
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
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
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
2b99c81de0
Lots of bug fixes for namespace api
2019-06-25 17:21:08 -06:00
David Hall
0920c029ec
Added MandatoryIntegrityLevelSIDRelativeID
2019-06-25 17:19:55 -06:00
David Hall
fe11d25a59
Fixed FreeSid declaration
2019-06-25 17:19:33 -06:00
David Hall
0b3d8ba147
Added AdjustTokenPrivileges variations
2019-06-25 17:19:10 -06:00
David Hall
6cd364624e
Added support for IComparable
2019-06-25 17:12:56 -06:00
David Hall
f7dd0a9cf6
Added NoOptimization attribute to SafeHANDLE disposal method
2019-06-25 17:12:28 -06:00
David Hall
34ce5635ff
Added constructor from SecurityIdentifier and Current property to SafePSID.
2019-06-25 17:11:42 -06:00
David Hall
d7eaafbb3b
Added implicit converstaion from SafeFileHandle to HFILE
2019-06-22 14:18:53 -06:00
David Hall
8e103fb92b
Fixed a number of parameters and attributes
2019-06-22 14:18:14 -06:00
David Hall
c2507e539e
Fixed page frame function params
2019-06-22 14:17:29 -06:00
David Hall
c07f56ebbb
Added some Optional attributes
2019-06-22 14:16:25 -06:00
David Hall
cd71160495
Corrected bug in AdjustTokenPrivileges and dependent code
2019-06-19 14:44:05 -06:00
David Hall
9914ab53c1
Improved parameters on LibLoaderApi functions. Converted SafeResourceDataHandle to HRSRCDATA since it does not need disposal.
2019-06-19 10:06:37 -06:00
David Hall
6595d81b92
Improved Equals method on SafeHANDLE
2019-06-19 10:04:57 -06:00
David Hall
70cb69039a
Added support methods, better attributes, tests to JobApi
2019-06-18 18:59:17 -06:00
David Hall
317fb1e3a6
Improved short para CreateProcess
2019-06-18 18:57:39 -06:00
David Hall
792c3040f9
Added parameter attributes to CreateProcess methods to indicate optional params. Added single param CreateProcess overload.
2019-06-18 15:20:54 -06:00
David Hall
18514d09e2
Change IO completion port handle references to HANDLE instead of IntPtr.
2019-06-18 13:22:18 -06:00
David Hall
f679e75e88
Major overhaul to fix problem in InterlockedApi functions. All work now. See unit test for example of use. 16-bit structure alignment is critical.
2019-06-18 12:54:41 -06:00
David Hall
ceff427cb9
Breaking fixes on heap functions. Added helper methods and prevented use of raw pointer for heap allocation to prevent memory leaks. Fixed bugs on function definitions.
2019-06-17 13:47:28 -06:00
David Hall
8250d509ee
Added extension methods and reformatted.
2019-06-17 13:45:37 -06:00
David Hall
36c5b82f91
Updated and fixed file functions in Kernel32. Changed WIN32_FIND_DATA back to a structure and corrected IShellLinkW reference. Added EnumFilesEx and EnumVolumes to simplify related functions. Fixed search handles so they dispose without error. Changed GetFullPathName, GetLongPathName and GetShortPathName to exclusively use the Unicode instance to avoid filename length restrictions.
2019-06-16 15:07:59 -06:00
David Hall
6ae1c9696a
Added LCID type to references
2019-06-15 14:11:05 -06:00
David Hall
5ca88029be
Added SEM enum and updated dependent functions. Improved formatting and docs.
2019-06-15 14:09:57 -06:00
David Hall
d4d3743e4c
Fixed CreateEnclave signature by added SafeEnclaveHandle return value.
2019-06-15 14:08:36 -06:00
David Hall
2a78f2735f
Improved docs and function definitions
2019-06-15 14:06:58 -06:00
David Hall
384a2a3caf
Changed some import references to KernelBase for better compatibility
2019-06-15 14:05:36 -06:00
David Hall
1a444b4fbc
Added many more errors
2019-06-15 13:50:40 -06:00
David Hall
64d6a2f4f7
BREAKING CHANGE: Fixed #57 and all other CreateProcessXX references. Changed managed PROCESS_INFORMATION to SafePROCESS_INFORMATION and exposed native PROCESS_INFORMATION. If you were using PROCESS_INFORMATION before, please check it's use. It has changed now to SafePROCESS_INFORMATION.
2019-06-15 13:48:50 -06:00
David Hall
1bfa7fc977
Update Gdi32 project files with changes
2019-06-11 13:41:42 -06:00
David Hall
70b0cf4393
Added color, OpenGL and region functions to Gdi32
2019-06-11 13:37:18 -06:00
David Hall
36116d7ff2
Reformatted
2019-06-11 08:15:43 -06:00
David Hall
26219195fe
Updated % complete info
2019-06-10 19:31:54 -06:00
David Hall
e25ce3e64f
Added comment with unimplemented functions
2019-06-10 15:30:34 -06:00
David Hall
e63be19482
Fixed signatures for implementation rather than use, added marshaling attributes and changed IntPtr to SafeHICON
2019-06-10 15:29:37 -06:00
David Hall
7f16708a16
Added enum to params of SHDefExtractIcon and overlay constants.
2019-06-10 15:28:35 -06:00
David Hall
0865938b33
Fixed bug in CommandLineToArgW by adding helper method, fixed bug in params to ExtractIconEx, added enum to params of SHGetStockIconInfo.
2019-06-10 15:26:59 -06:00
David Hall
9bfe5576f6
Fixed #56 with incorrect return value to CommandLineToArgvW.
2019-06-09 20:10:51 -06:00
David Hall
7b712e2215
Added SetupOverlappedFunction that uses a FileStream and doesn't try to rebind to the handle
2019-06-09 10:01:19 -06:00
David Hall
322ac346df
Fixed bug in contructor not storing Guid
2019-06-09 10:00:49 -06:00
David Hall
2c1b24e3e1
Fixed bug in Insert
2019-06-09 10:00:16 -06:00
David Hall
c254e5e62d
Added constructor to SID_AND_ATTRIBUTES
2019-06-09 10:00:03 -06:00
David Hall
7bbbec2d4e
Fixed incorrect storage of ANSI string arrays
2019-06-09 09:59:44 -06:00
David Hall
cb45d9fef7
Finally fixed all the FormatMessage code
2019-06-09 09:59:21 -06:00
David Hall
422ab0a7dd
Updated project files for 2.8.11 release
2019-06-07 20:42:41 -06:00
David Hall
bec657fdad
Improved WINTRUST_DATA implementation
2019-06-07 20:32:25 -06:00
David Hall
de311c6bf1
Added WinTrust.dll assembly and project.
2019-06-07 19:04:21 -06:00
David Hall
45a356f601
Fixed un-blittable structures
2019-06-07 12:49:14 -06:00
David Hall
da8b40b1b9
Corrected more blittability problems
2019-06-07 11:51:47 -06:00
David Hall
68775cdb5b
Fixed overlap issue with WAITCHAIN_NODE_INFO
2019-06-07 11:04:53 -06:00
David Hall
10b3aee029
Fixed comments, moved ToString content to DebuggerDisplay attribute where more apprpriate., corrected overlap and blittability problems with structures, add SafeLSA_UNICODE_STRING claass to deal with mem allocations.
2019-06-07 11:04:18 -06:00
David Hall
4b2ad79ab1
Added implicit conversion from PSID to SafePSID which copies the underlying content
2019-06-07 11:01:44 -06:00
David Hall
b8564c6984
Fixed overlap problems with INSTALLSPEC
2019-06-07 11:01:03 -06:00
David Hall
e27a4042c1
Fixed comments
2019-06-07 11:00:32 -06:00
David Hall
eaa0dd74d3
Fixed #55 by converting array to values (all reserved/unused so change shouldn't affect anyone)
2019-06-06 09:58:43 -06:00
David Hall
138412c3a4
Fixed problem with CREDENTIAL layout, added managed equivalent and fixed CredEnum #54
2019-06-04 16:01:09 -06:00
David Hall
f59831bc2c
Updated project files for 2.3.10
2019-06-04 12:18:56 -06:00
David Hall
61a8280071
Added LCID wrapper
2019-06-04 12:17:03 -06:00
David Hall
5ee2b906b7
Completed work on AdvApi32
2019-06-04 12:16:41 -06:00
David Hall
c8cb9a29d7
Completed work on Wait Chains (wct.h)
2019-05-30 19:07:04 -06:00
David Hall
ca8fcb7bf5
Added remainder of AdvApi32 Windows service management functions and provided .NET native security access functions and classes.
2019-05-30 13:37:31 -06:00
David Hall
9ca4cf1720
Added winefs.h functions
2019-05-27 19:40:40 -06:00
David Hall
58716021f7
Added Audit functions
2019-05-27 19:40:21 -06:00
David Hall
f046f68ad2
Added SafePSID.CreateWellKnown factory method
2019-05-27 19:39:40 -06:00
David Hall
dfda94ba24
Separated Audit functions into separate file
2019-05-27 19:39:00 -06:00
David Hall
c801a5137a
Added SafePACL
2019-05-27 19:38:27 -06:00
David Hall
9c1381f682
Added CertEncodingType
2019-05-27 19:38:00 -06:00
David Hall
ddf0c5f0a6
Changed UInt32 to ACCESS_MASK where appropriate
2019-05-27 19:37:44 -06:00
David Hall
101a7b949e
Added overload per #53
2019-05-26 09:50:56 -06:00
David Hall
f30cdaf468
Added overload per #52
2019-05-26 09:50:40 -06:00
David Hall
a7b33578f7
Added ability to support .NET Core and Standard
2019-05-25 20:49:57 -06:00
David Hall
0b83c0a914
Updated projects for version 2.3.9
2019-05-25 19:47:54 -06:00
David Hall
c5dec3b510
Removed Windows Search interfaces
2019-05-25 19:47:22 -06:00
David Hall
6e81310eb6
Added Windows Search assembly
2019-05-25 19:46:56 -06:00
David Hall
0771f6b30d
Added Windows Accessibility
2019-05-25 19:46:21 -06:00
David Hall
80c83d88d3
Added FOLDERLOGICALVIEWMODE
2019-05-25 19:45:00 -06:00
David Hall
70542ff101
Fixed ISearchCatalogManager2
2019-05-24 14:48:09 -06:00
David Hall
e51da313f3
Added Windows Search support interfaces and code
2019-05-24 14:44:44 -06:00
David Hall
9e30668679
Added ICondition2
2019-05-24 14:44:15 -06:00
David Hall
824afbc907
Added helper functions
2019-05-24 14:44:02 -06:00
David Hall
4021b16101
Added lock and layout interfaces
2019-05-24 14:43:19 -06:00
David Hall
be34118b68
Moved code around
2019-05-24 14:42:29 -06:00
David Hall
c11860bf0c
Fixed documentation
2019-05-24 14:42:05 -06:00
David Hall
a127151135
Added IEnumFromCom to specialize IEnumFromNext for COM enum interfaces
2019-05-24 14:39:49 -06:00
David Hall
06b70ca748
Solution changes to support new Accessibility project
2019-05-23 11:09:43 -04:00
David Hall
116000593d
Added Accessibility functions in new Accessibility project
2019-05-23 11:08:04 -04:00
David Hall
9e25dfe47b
Fixed structure alignment bug ( #50 ) in Debug Api calls.
2019-05-21 23:19:07 -04:00
David Hall
da3d9d27b9
Updated project information for 2.3.8
2019-05-13 14:55:44 -06:00
David Hall
de5426a305
Added and corrected a number of methods and supporting types for Secur32.dll
2019-05-13 14:46:57 -06:00
David Hall
e263b567f1
Added SecPkg structures
2019-05-13 14:44:36 -06:00
David Hall
49b489d4be
Cleaned up code on marshalers
2019-05-13 14:43:03 -06:00
David Hall
0d8984a840
Added safe pointer parameter to SspiPromptForCredentials
2019-05-13 14:42:34 -06:00
David Hall
d48adda2ed
Added support for Schannel.dll
2019-05-09 18:41:38 -06:00
David Hall
d69470a78a
Added partially documented LogonUserExExW
2019-05-09 17:42:36 -06:00
David Hall
de44ab8d50
Added ALG_ID and CERT_TRUST_STATUS
2019-05-09 15:57:55 -06:00
David Hall
e8f1611fb8
Added Schannel and SspiCli references
2019-05-09 15:57:00 -06:00
David Hall
8d211da1de
Fixed bugs on Insert and array set methods
2019-05-09 15:56:31 -06:00
David Hall
3eccb98a50
Added CreateBindCtx method in ShellUtil and migrated existing code to use it
2019-05-08 18:58:46 -06:00
David Hall
c5eb2544ec
Added IBindCtx (as IBindCtxV) to support newer options and better structure.
2019-05-08 12:49:33 -06:00
David Hall
136340947c
Fixed sizing of LSA_UNICODE_STRING
2019-05-08 09:30:53 -06:00
David Hall
f5ad3f0755
Extracted SafeNativeArrayBase from SafeNativeArray that allows for a different memory manager to be used and enhances/fixes the ability to insert a header before the array.
2019-05-08 09:30:06 -06:00
David Hall
9f0708719a
Added BIND_FLAGS enum
2019-05-08 09:26:02 -06:00
David Hall
56f517d6e9
Updated project information for 2.3.8
2019-04-30 08:00:06 -06:00
David Hall
769d045df2
More security additions (advapi32, secur32)
2019-04-30 07:59:38 -06:00
David Hall
01ae59e0c8
Final tested work on Authz functions
2019-04-29 11:31:13 -06:00
David Hall
69da011101
Converted dwDesiredAccess param type to ACCESS_MASK on OpenProcess and OpenThread
2019-04-29 11:30:33 -06:00
David Hall
58f0175592
Converted ACCESS_MASK from an enum to a struct so that it can be used universally to signify an access mask.
2019-04-29 11:29:50 -06:00
iFeng Huang
bdd9f1abda
Fix "DeviceIoControlAsync(HFILE hDev, uint ioControlCode, byte[] inputBuffer, byte[] outputBuffer) outputBuffer no response data" issue.
2019-04-27 02:36:20 +08:00
David Hall
539f56d373
Untested: Complete translation of all Authz and Secur32 functions and structs
2019-04-25 14:40:23 -06:00
David Hall
0cc1d914d0
Updated project files for 2.3.7 release
2019-04-24 08:48:29 -06:00
David Hall
27ab71a4f9
Complete addition of all functions and structures in IpHlpApi.dll with testing
2019-04-24 08:37:19 -06:00
David Hall
0d536c9436
Added new functions and structures from winsock2
2019-04-24 08:36:35 -06:00
David Hall
25502eb898
Work to harden and extend functionality of CallMethodWithTypedBuf
2019-04-24 08:28:58 -06:00
David Hall
348fc7b7f7
Added class to handle linked list of native structures in memory
2019-04-24 08:28:18 -06:00
David Hall
0383068abe
Added documentation and protected constructor to allocate just raw memory
2019-04-24 08:27:31 -06:00
David Hall
8770bc4bae
Updated documentation, added mem-zeroing on array set
2019-04-24 08:26:50 -06:00
David Hall
2fff530939
Added static FromException method
2019-04-24 08:25:33 -06:00
David Hall
6531317528
Completed functions for IpHlpApi. Moved some structures into different files.
2019-04-18 20:39:42 -06:00
David Hall
dbdcdd2107
Added default size getter and shortened version to CallMethodWithTypedBuf
2019-04-18 20:38:45 -06:00
David Hall
26f843a69c
Updated project data
2019-04-17 12:51:25 -06:00
David Hall
3a56122887
Updated documentation
2019-04-17 12:51:11 -06:00
David Hall
5597d959c2
Updated documentation
2019-04-17 12:25:05 -06:00
David Hall
c92d5228ef
Major repairs of WinCon functions and structures. Some breaking changes, but only to fix problems.
2019-04-17 11:43:19 -06:00
David Hall
04b9f4f3ae
Put some extra effort into ensuring functions and structures for Kernel32 console worked. Some breaking changes, but they would have been broken anyway.
2019-04-15 14:34:32 -06:00
David Hall
5be3e15570
Update project versions to 2.3.6
2019-04-15 13:45:35 -06:00
David Hall
016766658e
Updated project file
2019-04-12 11:38:23 -06:00
David Hall
6691b45642
Updated project file with additions
2019-04-10 13:24:47 -06:00
David Hall
7164c624b1
Added missing using statement
2019-04-10 13:10:35 -06:00
David Hall
124549d3f5
Added many new AdvApi32 methods
2019-04-10 12:13:59 -06:00