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
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
687d01e099
Added StructHelper with methods to get pointers for field values.
2019-08-29 19:56:55 -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
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
86ad257ff6
Added ThrowUnless and static ThrowLastErrorUnless methods
2019-08-27 08:25:12 -06:00
David Hall
c532e6061f
Made indexer related properties virtual
2019-08-22 13:57:03 -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
9b433ba34c
Fixed bug in handling of Guid field
2019-08-15 00:16:47 -07:00