Commit Graph

92 Commits (91ad5730b675743668a2e7aa10975b2487a1cafe)

Author SHA1 Message Date
David Hall 91ad5730b6 Update project versions to 2.3.0 2019-02-20 11:08:59 -07:00
David Hall 4272101c17 Fixed param on DestroyHeap 2019-02-06 07:31:38 -07:00
David Hall 7e183c2b6c Updated project files to 2.2.1 2019-02-05 14:25:27 -07:00
David Hall 38fadc70ee Added MapViewOfFile3 and MapViewOfFile3FromApp 2019-02-04 12:41:34 -07:00
David Hall 6150985d6a Updated project information 2019-02-04 12:26:46 -07:00
David Hall 8238b1d84d Re-aded SafeHHEAP GetBlock method 2019-02-04 10:55:02 -07:00
David Hall 96596176dd Fixed numerous logic problems with holding and disposing heap handles. 2019-02-04 10:50:28 -07:00
David Hall 190acdcb48 Removed SafeHandle based SafeResourceHandle and replaced with struct based handle HRSRC as it does not need to be released ever. 2019-02-04 10:27:39 -07:00
David Hall f1085cd3a5 Change SafeHandle derived base class HANDLE to SafeHANDLE. Yes, bonehead move to not do this correctly from the beginning. 2019-02-04 09:51:08 -07:00
David Hall 58eb28407c Added SetSystemTimeAdjustmentPrecise 2019-02-04 09:41:09 -07:00
David Hall 6cf624bd8e Added VirtualAlloc2 and VirtualAlloc2FromApp 2019-02-04 09:29:58 -07:00
David Hall 1efc1993f2 Updated project information 2019-02-01 16:41:11 -07:00
David Hall 946bcb2bba Added FillMemory method 2019-01-25 10:58:00 -05:00
David Hall 8f1e78e0f3 Updated project versions to 2.2.0 as there have been lots of changes, some of which are breaking. 2019-01-21 08:42:39 -08:00
David Hall 8fa7d0aafa Changed project versions to 2.1.3 2019-01-14 14:46:49 -07:00
David Hall 1e16ceed27 Updated copyright and PackageTags formatting in project files 2019-01-07 15:00:20 -07:00
David Hall b35d873906 Changed project versions to 2.1.2 2019-01-02 20:30:36 -07:00
David Hall 4356d92c71 Changed project versions to 2.1.1. 2018-12-17 11:45:32 -07:00
David Hall eb902e4595 Fixed build errors and warnings due to XML comments and obsolete license reference in project files. 2018-12-15 13:44:33 -07:00
David Hall 1042b528db Accepted changes to #26 and reformatted code 2018-12-14 16:25:25 -07:00
David Hall 478929c533
Merge pull request #26 from GreatFireWall/master
Add 'Task<TOut?> DeviceIoControlAsync<TIn, TOut>(HFILE hDevice, uint ioControlCode, TIn? inVal)'
2018-12-14 16:19:03 -07:00
David Hall 53df4ac64a Modified projects to support .NET Core 2.0 and 2.1 2018-12-14 15:10:31 -07:00
David Hall 8d0813cd51 Changed netstandard20 to netstandard2.0 in all project files to comply with updated MS preferences 2018-12-14 13:07:18 -07:00
iFeng Huang 6bf69058c6 Add 'Task<TOut?> DeviceIoControlAsync<TIn, TOut>(HFILE hDevice, uint ioControlCode, TIn? inVal)' for instead of 'DeviceIoControlAsync<TIn, TOut>(HFILE hDevice, uint ioControlCode, TIn? inVal, TOut? outVal)'. 2018-12-14 23:09:48 +08:00
David Hall c6451bf9b3 Updated version to 2.1.0 to indicated addition of Theraot.Core as a dependency. 2018-12-11 11:34:44 -07:00
David Hall 33b358033d Updated project information to version 2.0.1 and signed all assemblies. 2018-12-07 13:53:39 -07:00
David Hall ef801b11a9 Added conversion methods 2018-12-02 12:18:50 -07:00
David Hall fed13f093c Updated project files for 2.0.1 2018-11-30 14:34:07 -07:00
David Hall 3dff214bad Cleaned files - no code changes 2018-11-30 14:09:03 -07:00
iFeng Huang 1c8cb0c1cc BeginDeviceIoControl expose an interface that using byte[] as input/output parameter.
Add xml doc.
2018-11-30 16:31:51 +08:00
iFeng Huang fa4441f8b7 DeviceIoControlAsync expose an interface that using byte[] as input/output parameter. 2018-11-30 16:02:13 +08:00
David Hall 8a1355b0af Updated comments 2018-11-28 12:33:55 -07:00
David Hall cb9bcbcad8 Fixed header for GetSystemTimeAdjustmentPrecise 2018-11-28 08:55:29 -07:00
David Hall d434ec4527 Updated project files for 2.0 release 2018-11-28 08:53:23 -07:00
David Hall f6b7c3892d Added new Win10 functions 2018-11-28 08:53:05 -07:00
David Hall 88489e84bd Applied fixes from @GreatFireWall to BeginDeviceIoControl 2018-11-27 12:04:46 -07:00
David Hall c5467dfb7e Another 2.0 major commit. All tests working. 2018-11-19 21:18:50 -07:00
David Hall 627c6d2314 2.0 Checkin - Buildable 2018-10-26 12:24:07 -06:00
David Hall bfd2730324 Changed project builds to use latest C# minor version 2018-09-27 09:46:40 -05:00
David Hall 07b35daee3 Updated projects to version 2.0.0 2018-09-21 23:28:01 -06:00
David Hall 138accc380 MAJOR BREAKING CHANGES: Fundamentally changed how HANDLEs are represented and used. Much better type safety now that all handles derive from HANDLE and disposing instances are all noted by a SafeHxxx name. Solves problem with circular references and random IntPtr parameters. 2018-09-21 22:35:34 -06:00
David Hall 6602bdf12c Updated project information for 1.1.0 2018-09-10 16:56:45 -06:00
David Hall fe45d80854 Due to significant breaking changes related to the removal of conversion operators from GenericSafeHandle to IntPtr, changed version to 1.1.0. 2018-09-04 13:47:00 -06:00
David Hall bbc22f6646 Changed calls from conversion operator to DangerousGetHandle for all GenericSafeHandle derivatives. 2018-09-04 13:42:49 -06:00
David Hall cb6b39b449 Added SEC_xx enum for allocation flags 2018-09-04 12:07:20 -06:00
David Hall 47c5a94497 Updated more SafeHandles 2018-09-04 12:06:48 -06:00
David Hall 4f061faa74 Fixed signature problem with GetProcessHeaps. Replaced IntPtr references with appropriate SafeHandles. 2018-09-04 12:06:22 -06:00
David Hall 6b1ed53536 Made conversion operator from GenericSafeHandle to IntPtr explicit to minimize unintended conversions (#12) and updated all affected functions, including fixing those affected by unintended consequences. 2018-09-04 12:04:25 -06:00
David Hall 1532bc461f Merge branch 'master' of https://github.com/dahall/Vanara 2018-09-04 08:19:33 -06:00
Konstantin Sharon ea2f5b0126 Add IntPtr overload for CreateProcess and CreateProcessAsUser 2018-09-04 09:53:25 +03:00