dahall
c1f2225efb
Updated project files for 3.3.10 release
2021-06-02 20:57:31 -06:00
dahall
5b22a156f0
Fixed #230 by changing all import library references from Kernelbase to Psapi for functions defined in psapi.h. This allows the functions to work on all versions of Windows.
2021-05-26 09:46:28 -06:00
dahall
c68f6bb5a0
Extracted OFSTRUCT from Kernel32 to Shared and changed fFixedDisk field to `bool`.
2021-05-10 14:44:06 -06:00
dahall
e0462e6adf
Added optional parameter overloads for SetFilePointer, SetFilePointerEx
2021-04-05 20:03:42 -06:00
dahall
36934136a2
Added HPROCESS.IsWow64() extension method
2021-03-23 15:58:33 -06:00
NN
28822bab9e
Use explicit framework reference. Remove transitive TFM requirement. ( #212 )
...
Co-authored-by: NN <NN---@users.noreply.github.com>
2021-03-23 07:26:03 -06:00
dahall
c8d0a78c92
Fixed READ_USN_JOURNAL_DATA.FirstUsn type per #215 .
2021-03-18 14:36:55 -06:00
dahall
8aa4e7d96e
Updated package descriptions with briefer syntax
2021-03-07 11:24:58 -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
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
50aa5a06e1
Added generic CloseHandle and DuplicateHandle methods to better support IKernelHandle and SafeKernelHandle instances.
2021-03-04 10:57:31 -07:00
dahall
483d76df37
Changed return value of OpenFileById from IntPtr to SafeHFILE
2021-03-02 07:55:51 -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
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
4a4184ab87
Added COMPRESSION_FORMAT enum
2021-02-18 14:26:23 -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
43cf044f87
Updated project files
2021-01-19 19:36:32 -07:00
dahall
f9e5ae6a68
Added GetVolumePathNamesForVolumeName overload
2021-01-19 11:17:57 -07:00
dahall
bee8b44bbc
Added details for IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS
2021-01-15 13:37:38 -07:00
dahall
582811517b
Added VOLUME_DISK_EXTENTS
2021-01-15 13:37:15 -07:00
dahall
d119c5adbd
Updated project information
2020-12-24 11:00:18 -07:00
dahall
3aa3f9223d
**BREAKING CHANGES:** FIxed structures that could not load due to marshal attribute bugs
2020-12-03 20:34:05 -07:00
dahall
4d71e6ce9b
Updated project information markdown files with new format
2020-11-20 18:52:43 -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
5806d373d3
Finally a working solution for #176 .
2020-11-11 19:58:58 -07:00
dahall
3c20988f29
Changed params to GetLogicalProcessorInformationEx overload to return RefEnumerator
2020-11-10 21:38:59 -07:00
dahall
1c0e428592
Changed GetLogicalProcessorInformationEx helper method to return a SafeNativeLinkedList rather than an array so that the memory of linked, nested child arrays is not disposed before use. ( #176 )
2020-11-10 09:42:48 -07:00
dahall
4fdaf14a55
Updated project files for release
2020-11-08 16:02:41 -07:00
dahall
c3a6add0a4
Fixed #175 per detail for GetLogicalProcessorInformationEx
2020-11-04 13:05:34 -07:00
dahall
a824a4cea0
Fixed layout of PARTITION_INFORMATION_GPT so it is blittable ( #173 )
2020-10-28 19:28:36 -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
73420677a7
Updated project information
2020-10-23 09:05:48 -06:00
dahall
8686a6723d
Updated project and build files for 3.2.18. Converted all project files to new SDK format.
2020-10-21 08:27:54 -06:00
dahall
1d39cd0f05
BREAKING CHANGES: Fixed all the profile functions for ease of use and proper function.
...
Added Vanara.Configuration.InitializationFile wrapper class for all PrivateProfile functions.
2020-10-18 15:34:03 -06:00
dahall
0fa716973e
Added Get*Profile** function overloads to replace StringBuilder with allocated memory for multistring results ( #172 )
2020-10-17 09:37:12 -06:00
dahall
05b64a7664
Added IsUserCetAvailableInEnvironment and SetProcessDynamicEHContinuationTargets functions to Kernel32
2020-10-14 14:03:29 -06:00
dahall
b287f2afcd
Added explicit ReadConsoleA and WriteConsoleA for UTF-8 operations ( #171 )
2020-10-13 14:02:09 -06:00
dahall
fe6729ee09
Updated project files for 3.2.17 and builds against Win10 2004
2020-09-19 19:45:33 -06:00
dahall
37d8521a9d
Updated project files for 3.2.14
2020-08-20 09:28:06 -06:00
dahall
bbdded72b8
Fixed description
2020-08-05 10:38:00 -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
9124512278
Changed HANDLE params to HFILE in CreatePseudoConsole after some research. The function will take HFILE and HPIPE instances.
2020-07-15 13:50:02 -06:00
dahall
e82b63b8c6
Added missing XXPseudoConsole functions from consoleapi.h
2020-07-15 13:19:11 -06:00
dahall
c081cfa38c
Updated project information files
2020-07-14 16:02:36 -06:00
dahall
8d5c587e9d
Updated project file information
2020-06-27 18:54:55 -06:00
dahall
28eaf62f3b
Updated project information
2020-06-02 22:02:36 -06:00
dahall
ab7a7e2a69
Fixed mapped file handle reference
2020-06-02 22:01:39 -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
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
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
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
f3cbf772d2
Added SafeEventHandle explict IntPtr operator and IntPtr parameter overloads for SetEvent and ResetEvent.
2020-04-04 21:28:15 -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
476960ecbf
Updated project versions to 3.2.2.
2020-03-17 19:48:07 -06:00
dahall
6fd4f8c749
Added IntPtr overload for all WinCon functions currently using StringBuilder param ( #107 )
2020-03-16 14:19:58 -06:00
dahall
24dc30de5a
Updated project files with v3.2.1 information.
2020-03-09 10:23:37 -06:00
dahall
82f474e741
Add and corrected XML documentation.
2020-03-01 18:59:39 -07:00
dahall
19b3efd408
Updated project information and version to 3.2.0
2020-02-26 17:35:48 -07:00
dahall
474773bd75
Cleaned up unused items in project files.
2020-02-13 10:31:49 -07:00
dahall
287b04c621
Update lzexpand.h file and included in Kernel32
2020-02-13 10:28:11 -07:00
dahall
c856d06332
Updated project files for v3.1.9
2020-01-17 08:50:25 -07:00
dahall
1457225dd2
Updated Kernel32 with Windows 10 1903 API
2020-01-13 10:59:08 -07:00
dahall
42677e2063
Project files update for v3.1.8.
2020-01-13 09:26:39 -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
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
61d0fbb908
Updated project files for 3.1.6 release
2019-12-11 22:09:39 -07:00
David Hall
8bb754f22e
Updated project files to version 3.1.5
2019-11-26 08:20:16 -07:00
David Hall
9771eadebc
Converted structures from using IVanaraMarshaler to using SafeAnysizeStructMarshaler attribute
2019-11-16 15:51:16 -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
bfd863bfe6
XML Comment corrections (bad params, bad refs, bad syntax).
2019-11-05 22:52:45 -07:00
David Hall
8066f58f27
Removed unused comments
2019-11-04 12:59:36 -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
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
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
6ef7235bf3
Update project versions to 3.1.2
2019-10-23 13:44:41 -06:00
David Hall
8ae1d17c2f
Added structure sizes to help with conversion
2019-10-22 08:29:07 -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