dahall
93efa5648e
Added `Macros.MAKEINTATOM` function
2021-01-24 18:57:43 -07:00
dahall
aff898c849
Changed Win32Error.GetLastError to use function from Kernel32 instead of Marshal.GetLastError to improve speed.
2021-01-24 18:55:49 -07:00
dahall
51e1dfe133
Added IScsiDsc library
2021-01-19 11:18:23 -07:00
dahall
9609ce7eee
Extended and improved object GetValue(this REG_VALUE_TYPE value) method
2021-01-14 20:23:30 -07:00
dahall
583a0a9f93
Updated project files
2021-01-14 12:02:00 -07:00
dahall
4a63607d26
Updated project files
2021-01-11 15:30:51 -07:00
dahall
d92b34e446
Added const property key and Guid values for use by SetupAPI
2021-01-11 11:24:19 -07:00
dahall
9345674ebc
Moved PDCAP enum from PowrProf to Shared and added a few other enums and structure to Shared.Wdm.cs from that header file.
2021-01-11 11:20:54 -07:00
dahall
0d732be421
Added StructHelper.InitWithSize to simplify the many structures that have to be initialized with their size.
2021-01-11 11:16:52 -07:00
dahall
e23d7d2220
Moved DEVICE_SCALE_FACTOR from Shell32 to Shared
2021-01-11 11:16:06 -07:00
dahall
06027d381a
Updated project files
2020-12-30 21:01:44 -07:00
dahall
16ce539b33
Added Msi (partial), NewDev (complete) and SetupAPI (partial) assemblies
2020-12-30 20:48:39 -07:00
dahall
9212f849c9
Moved OLE types CY, DECIMAL and DATE up to Shared assembly.
2020-12-29 14:59:20 -07:00
dahall
3ad427a190
Updated project files
2020-12-27 18:29:25 -07:00
dahall
f0fd3f0334
Moved MouseButtonState from User32 to Shared assembly and up to PInvoke namespace. Fixed dependencies.
2020-12-27 17:30:06 -07:00
dahall
4c85c898ce
Added constructor for MSG struct
2020-12-25 20:40:00 -07:00
dahall
6f0255aa56
Changed ThrowLastErrorIfInvalid to a generic method to return the same type as the delegate
2020-12-20 08:27:17 -07:00
dahall
952c6cebe1
Added HWND.HWND_MESSAGE value
2020-12-18 17:49:12 -07:00
dahall
e214393430
Updated project documentation files
2020-12-16 11:41:02 -07:00
dahall
cd75cd654d
Added Vanara.Collections.ICOMEnum<T> interface to indicate COM interfaces that support the Enum/Reset pattern. Useful for simplifying getting IEnumerable runs from them.
2020-12-14 16:04:42 -07:00
David Hall
b51948f29b
Added ResourceId.IsIntResource property
2020-11-27 10:32:29 -07:00
dahall
4d71e6ce9b
Updated project information markdown files with new format
2020-11-20 18:52:43 -07:00
dahall
4c18661740
Updated project files for 3.3.0 release
2020-11-20 12:38:46 -07:00
dahall
439d77f58d
Added HEVENT handle
2020-11-19 14:48:23 -07:00
dahall
04d33e7e1a
Added support for .NET 5.0 (windows)
2020-11-13 16:55:23 -07:00
dahall
a07d008347
Updated project files for 3.2.20
2020-11-13 11:33:33 -07:00
dahall
3e4e60433e
Changed SafeNativeLinkedList back to supporting struct (not unmanaged) type param and removed unsafe pointer getter.
2020-11-11 07:56:03 -07:00
dahall
317947d16b
Added SafeNativeLinkedList.GetUnsafeItems
2020-11-10 21:34:45 -07:00
dahall
d805e46f28
Derived SafeNativeLinkedList from SafeNativeListBase and added ability to change way linked list is retrieved.
2020-11-10 09:40:46 -07:00
dahall
274953b061
Added SafeNativeListBase which is a SafeMemoryHandle that acts as a read-only list.
2020-11-10 09:39:55 -07:00
dahall
5136887803
Updated Theraot NuGet pkg to 3.2.0 across solution
2020-10-28 19:32:14 -06:00
dahall
ffc54378a7
Removed .NET 5.0 support until VS is updated
2020-10-26 18:36:24 -06:00
dahall
69bd276627
Added support for .NET 5.0 (windows)
2020-10-26 10:36:13 -06:00
dahall
ff11d2e393
Added standard HWND constants as static fields in HWND
2020-09-25 17:16:22 -06:00
dahall
a0f13e4c7e
Added .NET Standard 2.0 support
2020-09-20 12:35:17 -06:00
dahall
ad3189ebb5
Added missing EnumeratorToEnumVariantMarshaler for .NET Core
2020-09-17 20:28:49 -06:00
dahall
bde637b8d3
Fixed condition in HRESULT.FormatMessage that fails when MUI file couldn't be found.
2020-09-14 17:15:23 -06:00
dahall
dabe7bcd84
Added methods to assist with memory alignment.
2020-09-10 10:11:58 -06:00
dahall
1f52c4aaf0
Removed warning messages
2020-09-03 10:51:23 -06:00
dahall
7b44c23bda
Added DRT.dll library
2020-08-31 16:55:50 -06:00
dahall
abcc1e276d
Removed duplicates
2020-08-30 21:14:24 -06:00
dahall
0469e26f83
Initial PeerDist.dll implementation
2020-08-30 21:11:35 -06:00
dahall
d214434cda
Initial implementation of P2P.dll
2020-08-26 21:04:19 -06:00
dahall
cac3df43f2
Project information update
2020-07-27 10:50:28 -06:00
dahall
e701d99c1b
BREAKING CHANGE: Due to performance, changed IMemoryMethods and ISimpleMemoryMethods to contain method signatures instead of properties of method delegates. Then changed all derived memory classes to new interface definition. I believe most of this only affects internal classes so hopefully not a huge effect on your code.
2020-07-20 09:48:32 -06:00
dahall
ce2d837a5c
Added AssociateStringAttribute to associate a string with a code element.
2020-07-17 15:28:21 -06:00
dahall
c081cfa38c
Updated project information files
2020-07-14 16:02:36 -06:00
dahall
fffb6981ff
Update project statistics files
2020-07-14 15:07:18 -06:00
dahall
eb3cc13bb3
Updated project information for 3.2.12
2020-07-13 08:58:32 -06:00
Jean-Bernard Pellerin
88856b5a94
Update Win32Error.Values.cs typo in identifier ( #141 )
...
ERROR_EVT_EVENT_DEFINITION_NOT_OUND to ERROR_EVT_EVENT_DEFINITION_NOT_**F**OUND (value 0x00003AB8)
2020-06-25 14:46:18 -06:00
dahall
fdcd7e93a1
Updated NuGet packages
2020-06-11 11:52:26 -06:00
dahall
e5c9d02a3b
Fixed bug in COLORREF when setting from a Color.
2020-06-09 19:00:23 -06:00
dahall
fd35f79e22
Removed IComEnumerator references - doesn't work due to Reflection/COM object limitations
2020-06-06 13:44:00 -06:00
dahall
7fc504f470
Added interface (IComEnumerator) to identify COM interfaces that support the Next/Reset pattern and a supporting class and extension method to make getting an IEnumerator<T> from them easy.
2020-06-05 14:41:26 -06:00
dahall
28eaf62f3b
Updated project information
2020-06-02 22:02:36 -06:00
dahall
3358686dae
Added references for Vanara.PInvoke.Graphics
2020-06-02 21:57:13 -06:00
dahall
8cce2a634e
Updated property layout.
2020-05-22 10:03:51 -06:00
dahall
67e89b5472
Fixed incorrect parameters for file mapping functions and added HSECTION and SafeHSECTION handles.
2020-05-16 15:15:33 -06:00
dahall
99a1f77520
Added Core Audio HRESULT values
2020-05-11 10:25:35 -06:00
dahall
18937a70a6
Added missing HRESULT Facility enum values
2020-05-11 10:24:59 -06:00
NN
df99d91f26
Add NO_ERROR constant. ( #119 )
2020-05-11 06:44:11 -06:00
dahall
095dc0ef88
Oops. Updated project files for 3.2.7 release.
2020-05-04 14:47:44 -06:00
dahall
0b4032473b
Fixed issues when converting from UInt32 and FormatMessage when no message was found.
2020-05-04 12:41:26 -06:00
dahall
9c2cdc2c1c
Fixed spacing
2020-05-04 10:55:58 -06:00
dahall
d6a7e5f4aa
Added IEquatable<int> implementation
2020-05-04 10:55:43 -06:00
dahall
64e007e564
Added IEquatable<int> implementation and FromExcpetion, HRESULT_FROM_NT and HRESULT_FROM_WIN32 methods
2020-05-04 10:55:11 -06:00
dahall
d353468dd7
Reorganized and formatted.
2020-05-04 10:21:51 -06:00
dahall
eca7516d87
Added Win10 cloud and file errors
2020-05-01 15:25:52 -06:00
dahall
854ab9536d
Fixed issue with duplicates by only grabbing first value's field.
2020-04-28 11:01:15 -06:00
dahall
f209be7395
Changed GetHashValue to return raw value.
2020-04-28 11:00:46 -06:00
dahall
a124fb4531
MAJOR BREAKING CHANGE: Changed underlying type of HRESULT and NTStatus to Int32 and Win32Error to UInt32 (reversed) due to a major miss on my part in reading the header files. Sorry everyone.
2020-04-27 21:25:47 -06:00
dahall
ee9580be2f
Added NTStatus.NTSTATUS_FROM_WIN32 function and implicit operator from Win32Error to NTStatus using that function.
2020-04-25 15:39:58 -06:00
dahall
19706ac13f
Added ProjectedFSLib.dll functions, constants and structures
2020-04-24 15:53:18 -06:00
dahall
5141a4c722
Added Macros methods to deal with LARGE_INTEGER (Int64) values.
2020-04-24 11:34:23 -06:00
dahall
c973a8ec77
Added new Win10 constants
2020-04-23 16:52:31 -06:00
dahall
03f79ef1d2
Added CldApi.dll functions, constants and structures along with basic unit test.
2020-04-22 19:36:24 -06:00
dahall
b8642a3c86
Add CORRELATION_VECTOR structure to Shared
2020-04-22 19:11:31 -06:00
dahall
4b424e3e39
Put FILE_BASIC_INFO back in Kernel32
2020-04-22 19:11:05 -06:00
dahall
b3a187d129
POTENTIALLY BREAKING CHANGE: Moved FILE_BASIC_INFO from Kernel32 to Shared libraray.
2020-04-22 16:21:27 -06:00
dahall
70b1163881
Fixed multiple bugs in DnsApi mostly stemming from trying to use structures in callback delegates.
2020-04-15 06:57:58 -06:00
dahall
a86fe27c11
Updated project file information for 3.2.4 release
2020-04-13 06:44:23 -06:00
dahall
aabf8e7ca5
Added Vanara.PInvoke.DnsApi and supporting unit test supporting dnsapi.dll.
2020-04-11 16:17:06 -06:00
dahall
514e974703
Modified GenericStringMarshaler type constraint to ISimpleMemoryMethods
2020-04-11 16:10:33 -06:00
dahall
cd46adfb6b
Added GenericStringMarshalerBase and GenericStringMarshaler as custom string marshalers that can be typed against an IMemoryMethods implementation. The converted LocalStringMarshaler and CoTaskMemStringMarshaler to use that new class.
2020-04-07 12:43:44 -06:00
dahall
3cf49c0749
Introduced base class for SafeAnysizeStruct to enable reuse with objects that don't use a single field to determine the length of the array.
2020-04-07 09:34:13 -06:00
dahall
c6b9c3e5b6
Added GET_X_LPARAM and GET_Y_LPARAM to Macros class and fixed HIWORD and LOWORD functions to use unchecked to not lose values.
2020-04-07 07:55:22 -06:00
dahall
c0ff453a20
Moved much of the individual project file detail to root Directory.Build.* files for consistency. Fixed build errors due to bad or missing project tags. Cleaned up project files.
2020-04-03 14:51:10 -06:00
dahall
9fdb1ea000
Update project versions to 3.2.4
2020-04-01 18:48:29 -06:00
dahall
1c217e668e
Updated project files to 3.2.3
2020-03-31 18:51:44 -06:00
dahall
d1a938dffe
Added PInvoke libs for wlanapi.dll and wcmapi.dll.
2020-03-31 16:04:41 -06:00
dahall
2e9935667a
Removed generic constraint so classes could be processed and changed ctor param from int to SizeT for consistency with base class.
2020-03-31 16:01:47 -06:00
dahall
476960ecbf
Updated project versions to 3.2.2.
2020-03-17 19:48:07 -06:00
dahall
9143f753a2
Exposed NTStatus.ToHRESULT method and explicit conversion operator to HRESULT
2020-03-13 15:42:32 -06:00
dahall
24dc30de5a
Updated project files with v3.2.1 information.
2020-03-09 10:23:37 -06:00
dahall
5c7c981393
Added all functions for crypt32.dll
2020-03-09 09:54:19 -06:00
dahall
19b3efd408
Updated project information and version to 3.2.0
2020-02-26 17:35:48 -07:00
dahall
fd97276a2c
Fixed bugs in the storage and reading of integer resource identifiers.
2020-02-20 13:55:34 -07:00
dahall
dfcb9e4bbd
Added DMPAPER_USER to DMPAPER enum ( #106 )
2020-02-17 08:48:02 -07:00
dahall
474773bd75
Cleaned up unused items in project files.
2020-02-13 10:31:49 -07:00
dahall
c856d06332
Updated project files for v3.1.9
2020-01-17 08:50:25 -07:00
dahall
cc7170875f
Fix and test for #101 - Bug when using SafeAnysizeStruct.
2020-01-17 07:54:15 -07:00
dahall
42677e2063
Project files update for v3.1.8.
2020-01-13 09:26:39 -07:00
dahall
019fd00485
Finished documenation
2020-01-12 21:11:21 -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
6edf55346d
Added support for .NET Core 3.1
2020-01-03 16:46:48 -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
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
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
61d0fbb908
Updated project files for 3.1.6 release
2019-12-11 22:09:39 -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
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
8bb754f22e
Updated project files to version 3.1.5
2019-11-26 08:20:16 -07:00
David Hall
2036104502
Update project information for 3.1.4
2019-11-25 07:02:08 -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
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
a060052f3b
Added ResourceIdOrHandle<THandle> to represent a resource string, id or handle union
2019-11-04 12:58:33 -07:00
David Hall
0eb05fc0b0
Updated project info for 3.1.2 release
2019-11-04 06:49:29 -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
6ef7235bf3
Update project versions to 3.1.2
2019-10-23 13:44:41 -06:00
David Hall
33765e40ee
Fixed condition on IEnumFromCom where TryGet looped forever.
2019-10-23 12:06:32 -06:00
David Hall
8bd79dd5ea
Added a generic IEnumerator implementation
2019-10-22 08:26:16 -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
f649adbc24
Added IUserHandle reference to all user object handles.
2019-10-17 11:21:20 -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
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
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
a7af7ccbd4
Completed all unit tests and function changes for all functions in WinInet.dll
2019-09-20 13:04:38 -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
3eef0a5c88
Updated project files
2019-09-10 13:56:23 -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
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