dahall
6c23b00a9c
Updated and added tests for SAFEARRAY and PROPVARIANT changes
2021-03-18 15:41:02 -06:00
dahall
a66390fe2b
Fixed bugs in PROPVARIANT.GetSafeArray and SetSafeArray that caused crashed on all but a few use cases.
2021-03-18 15:40:27 -06:00
dahall
49c63e7207
So many bug fixes and improvements to SAFEARRAY and assoc functions. Fixed parameters on a number of functions, added function overloads for simpler parameter passing, fixed bug in SAFEARRAYBOUND.ctor, added many methods to SafeSAFEARRAY to make it more like `System.Array` and more interoperable.
2021-03-18 15:38:48 -06:00
dahall
d9eb284013
Fixed bug in FreePropVariantArray param definition
2021-03-18 14:59:54 -06:00
dahall
73f5ea3700
Added VARTYPE.GetCorrespondingType extension method to convert to a .NET or Vanara type.
2021-03-18 14:39:32 -06:00
dahall
c8d0a78c92
Fixed READ_USN_JOURNAL_DATA.FirstUsn type per #215 .
2021-03-18 14:36:55 -06:00
dahall
d1eac05783
Fixed ISearchRoot. IDL has property methods in put/get order instead of get/put and wrapping them in properties does not seem to allow that order.
2021-03-08 20:06:32 -07:00
dahall
8aa4e7d96e
Updated package descriptions with briefer syntax
2021-03-07 11:24:58 -07:00
dahall
3e00f2743c
Updated referenced NuGet package versions
2021-03-07 11:15:52 -07:00
dahall
abcfd5a862
Documentation fixes
2021-03-07 11:15:18 -07:00
dahall
29a2dfbb3b
Adjusted completion port references to IntPtr
2021-03-07 11:14:51 -07:00
dahall
9d7ffcf4f4
Change all IO completion keys to IntPtr instead of UIntPtr -- they need to interchange with HANDLE types almost always.
2021-03-06 18:54:56 -07:00
dahall
034b6793e6
Changed INVALID_SET_FILE_POINTER a UInt32 to match SetFilePointer output type. Changed unsafe overload of ReadFIle to have all pointer params. Added SetFilePointer overload taking uint values as params.
2021-03-06 18:53:34 -07:00
dahall
c5075f648b
Made implicit conversion to HANDLE work from SafeHandle instead of SafeHANDLE
2021-03-06 18:51:17 -07:00
dahall
524cb82c2b
Added parameter attributes to CreateFileMapping variants
2021-03-05 16:26:50 -07:00
dahall
b895c05a54
Fixed ambiguity problems with changes to DuplicateHandle. Rolled back some of them.
2021-03-04 11:57:55 -07:00
dahall
b92976fad4
Fixed bug in last commit
2021-03-04 11:41:40 -07:00
dahall
50aa5a06e1
Added generic CloseHandle and DuplicateHandle methods to better support IKernelHandle and SafeKernelHandle instances.
2021-03-04 10:57:31 -07:00
dahall
042cf8573c
Added equality operators for IHandle and IntPtr to SafeHANDLE.
2021-03-04 10:56:29 -07:00
dahall
483d76df37
Changed return value of OpenFileById from IntPtr to SafeHFILE
2021-03-02 07:55:51 -07:00
dahall
05c0fffd97
Updated project versions to 3.3.6
2021-03-02 07:55:06 -07:00
dahall
540cad3daf
Truncated desc for Kernel32 project to avoid 35K char limit
2021-03-01 15:38:37 -07:00
dahall
a361530d5a
Merge branch 'master' of https://github.com/dahall/Vanara
2021-03-01 15:07:26 -07:00
dahall
fb5f44738e
Updated project files for 3.3.5
2021-03-01 15:07:01 -07:00
Matt Haynie
63f7a1d201
Create WinBase.File.cs ( #213 )
...
MAX_PATH is not a hard limit on the maximum length of a file path. Using Windows 10, I have a file path that is ~378 chars long, and an exception is thrown in the local method AddCap because the code attempts to increase the size of the StringBuilder beyond the 261 chars that was specified in the constructor. This change just removes the hard upper limit cap on that length.
2021-02-28 18:57:02 -07:00
dahall
d7eeb1ca06
Usability updates to CldApi functions.
2021-02-24 14:25:56 -07:00
dahall
b6f76552ca
Fixed ambiguity with changes to PostQueuedCompletionStatus
2021-02-18 17:36:09 -07:00
dahall
7ce8ade62d
Added over 100 new structures supporting control codes and DeviceIoControl
2021-02-18 15:34:42 -07:00
dahall
21c4311935
Added/updated tests for Kernel32
2021-02-18 14:27:08 -07:00
dahall
4a4184ab87
Added COMPRESSION_FORMAT enum
2021-02-18 14:26:23 -07:00
dahall
a90a8d2687
Added non-opaque SID structure
2021-02-18 14:25:48 -07:00
dahall
b151b82e06
Added parameter attributes and DeviceIoControl overload that takes no input or output params.
2021-02-18 14:25:21 -07:00
dahall
2d538b6cf7
Replaced GetLogicalDriveStrings with overloaded methods not using StringBuilder.
2021-02-18 14:24:03 -07:00
dahall
87664c5f97
Added AnySizeStringMarshaler<T> which is an IVanaraMarshaler implementation to handle structures where the last field is a single character string array. Also added ability to use "*" as field name to indicate that string or array length should be determined by the amount of allocated memory.
2021-02-18 14:22:59 -07:00
dahall
f13930bd63
Added Vanara.PInvoke.RstrtMgr project/assembly with Restart Manager functions. 100% complete.
2021-02-11 15:39:40 -07:00
dahall
9ef975bc73
Updated version to 3.3.5
2021-02-11 15:35:24 -07:00
dahall
fa63350031
Updated project files for 3.3.4
2021-02-11 13:33:26 -07:00
dahall
07561a1419
Added CoClassAttribute to IContextCallback
2021-02-09 09:18:31 -07:00
NN
f45861e1e1
Add ContextSwitcher and other IIDs. Fix IContextCallback. ( #211 )
...
Co-authored-by: Konstantin Sharon <NN---@users.noreply.github.com>
2021-02-09 07:46:25 -07:00
dahall
c703c450f9
Updated tests
2021-02-08 15:33:48 -07:00
dahall
bf1cbcf3ca
Improved parameter attributes and overloads for CreateWindowEx and GetClassInfoEx
2021-02-08 15:33:07 -07:00
dahall
03cb7bdda6
Fixed issues with BasicMessageWindow that caused creation failures and WndProc call failures.
2021-02-08 15:31:59 -07:00
dahall
6c4a37655b
Added `WindowClass` to ensupsulate information about a window class.
2021-02-08 15:30:54 -07:00
dahall
6d7fd73bba
Added IContextCallback ( #209 )
2021-02-08 09:19:12 -07:00
dahall
b063def5da
Updated shell object tests
2021-02-04 14:24:14 -07:00
dahall
859b7094b7
Fixed bug in ShellItem when calling GetHandler without BHID value
2021-02-04 14:23:51 -07:00
dahall
1d9289086b
Fixed bug in ShellItemImages throwing unnecessary error if unable to generate thumbnail
2021-02-04 14:22:56 -07:00
dahall
5054e2c6a2
Fixed bug with ShellContextMenu failing when passed the desktop shell item. Took chance to optimize folder params. ( #206 )
2021-02-03 21:43:22 -07:00
dahall
a53b800e5c
Changed version to 3.3.4
2021-02-03 15:27:54 -07:00
dahall
c2c75a461e
Updated project files for 3.3.3 release
2021-02-03 14:49:55 -07:00