Commit Graph

354 Commits (2f986219834da02ab26511a9113eb520a5e76b74)

Author SHA1 Message Date
dahall c80f9b6c00 Fixed param types on ReadFile/WriteFile overloads 2022-07-20 10:58:59 -06:00
dahall bf8ad0ac35 Added ReadFile and WriteFile overloads for NativeOverlap 2022-07-20 09:52:20 -06:00
dahall f1140f553b Fixed bug in DeviceIoControl<TIn, TOut> 2022-07-05 20:17:28 -06:00
dahall 7f9da3440c Added overload for ResetEvent and SetEvent with HEVENT param. 2022-06-30 09:11:35 -06:00
dahall b2cc426dc3 Fixed bug in EnumFileStreams 2022-06-28 15:21:57 -06:00
dahall 47b609765d Fixed WIN32_FIND_STREAM_DATA to expose cStreamName 2022-06-28 14:56:10 -06:00
dahall 298ea34914 Updated package readme files 2022-06-14 16:55:29 -06:00
dahall e3de6cafaa Updated project files 2022-05-13 09:59:22 -06:00
dahall aa69db53fd Updated documentation and added package readme files. 2022-05-09 15:56:58 -06:00
dahall 47c6e623fb Improved error handline in DeviceIoControl<TOut> 2022-04-10 22:36:38 -06:00
dahall 575e427750 Fixed bug with DRIVE_LAYOUT_INFORMATION_EX 2022-04-10 22:35:40 -06:00
dahall 2b4f3bd1b2 Updated project files 2022-03-14 13:26:43 -06:00
dahall dc6cea6de0 Moved most TargetFrameworks tags out of project files and into Directory.Build.props for easier maint. Also changed net462 build to net45 for greater compatibility. 2022-03-14 09:32:06 -06:00
dahall 667ab7cdad Updated project files 2022-02-23 11:55:19 -07:00
dahall b669932c57 Removed code and conditionals for obsolete target frameworks. 2022-02-07 14:58:09 -07:00
dahall d9f00186b0 Removed support for .NET 2.0, 3.5, 4.0 and 4.5, .NET Core 2.0, 2.1, and 3.0 since all are or shortly will be out of support. Added support for .NET 4.6.2 and 4.8. 2022-02-07 14:35:37 -07:00
dahall 90831ea16f Changed SafeMoveableHGlobalHandle.ctor(IntPtr...) method to not accept size and rather extract it using GlobalSize 2022-01-22 15:31:55 -07:00
dahall c3078b052b Updated project files with 3.4.0 changes 2022-01-17 17:15:18 -07:00
dahall 5f52aa7820 Added SafeMoveableHGlobalHandle class and added support to locking memory to all memory classes. 2022-01-16 17:22:34 -07:00
dahall 0bb9797e2f BREAKING CHANGES: I have dramatically reduced dependencies of almost all assemblies on .NET runtime assemblies not part of core System assemblies, most specifically System.Drawing and System.Windows.Forms. This forced the removal of some overloaded methods and the replacement of leveraged structures and enums with native equivalents. I added Vanara.Windows.Shell.Common which has all the content from Vanara.WIndows.Shell that did not have dependencies. I extracted all extension methods from Gdi32 and User32 and moved them to Vanara.Windows.Extensions. 2022-01-14 07:32:51 -07:00
dahall b9614e7eb2 Rolled version to 3.4.0 and added support for .NET 6.0 2021-12-27 16:34:25 -07:00
dahall cb5aeed8c3 Fixed missing size in HeapAlloc, HeapReAlloc, and SafeHHEAP.GetBlock (#258) 2021-12-10 08:59:45 -07:00
dahall d758ac35d4 Corrections to 3.3.14 documentation 2021-10-26 07:34:54 -06:00
dahall 34580ccf7f Updated project files for 3.3.14 2021-10-25 21:49:50 -06:00
dahall 18bce70ded Added new Win11 methods from Kernel32 and KernelBase 2021-10-25 17:28:58 -06:00
dahall e30db79692 Fixed XML comment 2021-10-13 20:07:01 -06:00
dahall 5326e35571 Added GetProcAddress methods to SafeHINSTANCE 2021-10-08 09:20:54 -06:00
dahall 12d1fcba0e Added GetModuleHandleEx overload for an address 2021-10-07 17:35:56 -06:00
dahall 3387e66fd7 Fixed errors that should have been caught in last commit 2021-10-05 19:16:10 -06:00
dahall 65230d8eac Updated and fixed attributes for appmodel.h functions, adding GetPackageFullName function. 2021-10-05 15:43:16 -06:00
dahall a51a9e7f17 Added GetInfo, SetInfo, ReadMemeory and WriteMemory process extension methods.
Fixed PROCESS_INFORMATION_CLASS values and types.
2021-10-04 21:20:07 -06:00
dahall f28c7c3d8b Fixed bug in `SafeProcThreadAttributeList.Create` (#249) 2021-09-20 09:32:34 -06:00
dahall 840e3029a8 Cleaned and optimized heapapi.h code 2021-09-02 08:04:42 -06:00
dahall ce52a9efe8 Updated project file 2021-08-29 16:31:18 -06:00
dahall 57ec94851a Added Kernel32.MoveableHGlobalMemoryMethods class (from Vanara.Windows.Shell) 2021-08-29 15:04:37 -06:00
dahall 5132c0249b Changed HFILE to implement ISyncHandle 2021-08-25 12:03:23 -06:00
dahall 192229cd62 Fixes related to issue #244 2021-08-25 11:28:05 -06:00
dahall f6db705f87 Made adjustments to WinCon to address #244 2021-08-19 20:52:56 -06:00
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