dahall
f05c216813
Added TYSPEC and uCLSSPEC.
2020-01-09 14:32:34 -07:00
dahall
82f0751712
More functions and interfaces for UrlMon
2020-01-09 11:24:59 -07:00
dahall
f852e598b1
Added tagSECURITY_ATTRIBUTES, a struct implementation of SECURITY_ATTRIBUTES, for those few times it's needed.
2020-01-09 11:24:19 -07:00
dahall
6c0c07897a
Added OLEMISC
2020-01-09 11:23:44 -07:00
dahall
25845ccc15
Updated project files for 3.1.7
2020-01-06 07:13:56 -07:00
dahall
ca116d6e90
Completed adding and testing all functions for UserEnv.dll
2020-01-05 20:51:15 -07:00
dahall
34ee12d616
Updated PSID.ToString(string) docs
2020-01-05 20:50:42 -07:00
dahall
aff96b0adf
Fixed bug in defintion of IEnumIDList.Next and all dependent methods. ( #97 )
2020-01-04 15:44:00 -07:00
dahall
67046abd5a
Merge branch 'master' of https://github.com/dahall/Vanara
2020-01-03 16:51:24 -07:00
dahall
6eb542ecd0
Updated project information for 3.1.7
2020-01-03 16:50:52 -07:00
dahall
6edf55346d
Added support for .NET Core 3.1
2020-01-03 16:46:48 -07:00
dahall
3825a5ddad
Completed documentation and cleanup of all xpsobjectmodelX.h code.
2020-01-03 15:10:02 -07:00
Jeffrey Jangli
a3fb998699
Fixed memory leaks when using WindowsIdentity.GetCurrent() ( #91 )
2020-01-01 15:41:44 -07:00
David Hall
92227c8afd
Completed testing and fixes for url.dll in Vanara.PInvoke.Shell32.
2019-12-31 12:11:41 -07:00
David Hall
73bebac442
Added missing CLSCTX_ values.
2019-12-31 12:10:39 -07:00
David Hall
ba0cfb721a
Added Vanara.PInvoke.UserEnv to hold user profiles functions. ( #80 )
2019-12-30 16:01:47 -07:00
David Hall
ef322f1d42
Added functions and interfaces from url.dll to Shell32.
2019-12-30 15:32:32 -07:00
David Hall
4efd504b33
Replaced int for SystemMetric as first parameter on GetSystemMetricsForDpi ( #79 )
2019-12-26 17:43:56 -07:00
David Hall
6867a42fc7
More fixes and documentation for printing functions
2019-12-21 21:08:13 -07:00
David Hall
1ee34f1001
Updated all project files to version 3.1.7
2019-12-17 15:05:04 -07:00
David Hall
c2c9a6e2e6
Updated project files to support SourceLink
2019-12-17 14:56:55 -07:00
David Hall
5ed5ec8412
More work on Vanara.PInvoke.Printing adding documentsource.h and documenttarget.h interfaces and all XPS Printing interfaces.
2019-12-17 14:55:56 -07:00
David Hall
2c61dd78f3
Added Vanara.PInvoke.Opc and Vanara.PInvoke.UrlMon projects with initial implementations.
2019-12-17 14:54:54 -07:00
David Hall
cae5e2c81f
Added XpsPrint functions and interfaces.
2019-12-14 17:17:20 -07:00
David Hall
980e48a91d
Added GDI Print Api Functions to Gdi32 and WinSpool
2019-12-14 16:30:28 -07:00
David Hall
eb1bf547c2
Added unit tests for newly added functions and applied needed fixes.
2019-12-13 14:28:25 -07:00
David Hall
cab7d799c2
Added remaining winspool and prntvpt functions
2019-12-12 20:13:04 -07:00
David Hall
00e3e73cfd
Changed all instances of PIDL[] parameters to IntPtr[] to avoid marshaling error.
2019-12-12 19:48:07 -07:00
David Hall
61d0fbb908
Updated project files for 3.1.6 release
2019-12-11 22:09:39 -07:00
David Hall
14b6140095
Finished inital release work for PInvoke.Printing
2019-12-11 11:11:22 -07:00
David Hall
945d381524
Added initial PInvoke.Printing project with winspool.h implementations
2019-12-10 06:56:36 -07:00
David Hall
e3a4cd6f93
Fixed bugs in RegistryTypeExt.GetValue and added GetFromType method
2019-12-08 21:17:02 -07:00
David Hall
828cd47c12
Potentially Breaking Change: Moved DEVMODE and supporting enums out from Gdi32 class to items under the Vanara.PInvoke namespace. Moved DM_SPECVERSION to const value under DEVMODE struct.
2019-12-02 11:00:18 -07:00
David Hall
d66462ca3e
Moved DEVMODE structure and supporting enums to PInvoke.Shared.
2019-12-02 10:56:37 -07:00
David Hall
0edc75771c
Added CharSet.Unicode attribute to CATALOG_INFO to fix marshaling problem.
2019-11-29 12:44:29 -07:00
David Hall
9494280b8f
Fixed structure field order problem with WINDOWINFO ( #75 )
2019-11-29 08:03:11 -07:00
David Hall
ebc448c30a
Changed default sizing to int.MaxValue to prevent overruns.
2019-11-27 14:46:08 -07:00
David Hall
8ca39f3530
On IntPtr constructor, removed copying of memory from orig pointer and now just use unowned pointer.
2019-11-27 14:45:38 -07:00
David Hall
142d0d6a41
Added missing value to SID_ENUM_TYPE ( #74 )
2019-11-27 07:58:18 -07:00
David Hall
6192335362
Added missing structures related to kerberos tickets
2019-11-26 21:32:18 -07:00
David Hall
a7b722c8a3
Added SafeLsaMemoryHandleBase.Size as a helper for building structures with IVanaraMarshaler
2019-11-26 21:31:07 -07:00
David Hall
8bb754f22e
Updated project files to version 3.1.5
2019-11-26 08:20:16 -07:00
David Hall
54ea0cf18c
Fixed bug with POLICY_AUDIT_EVENTS_INFO when using 64-bit builds.
2019-11-26 07:14:10 -07:00
David Hall
2036104502
Update project information for 3.1.4
2019-11-25 07:02:08 -07:00
David Hall
8057b34687
Fixed bugs in IPAddressBox and MAKEIPADDRESS
2019-11-24 17:07:55 -07:00
David Hall
c7a8f2ce26
Added extension methods for IShellFolder
2019-11-23 20:32:48 -07:00
David Hall
37b9f50288
BREAKING CHANGE: Fixed problems with STRRET and its use in IShellFolder::GetDisplayNameOf. #73
2019-11-23 18:24:59 -07:00
David Hall
42771630ad
Fixed TypeLoad error ( #72 ) for PROPSPECunion.
2019-11-23 08:11:51 -07:00
David Hall
42c60bccaa
Unchanged PIDL parameters to IntPtr
2019-11-21 16:48:48 -07:00
David Hall
463b4ecefa
Changed GetFolderIds extension method to return GUIDs, like the interface method and added GetKnownFolderIds to get the equivalent KNOWNFOLDERID values.
...
Fixed FreeKnownFolderDefinitionFields.
2019-11-21 16:47:28 -07:00
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