Commit Graph

313 Commits (27c00f8281674c3cabc11049c9c34b733385cca1)

Author SHA1 Message Date
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