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
82f474e741
Add and corrected XML documentation.
2020-03-01 18:59:39 -07:00
David Hall
c3521b7742
MAJOR BREAKING CHANGEs:
...
1) Obsoleted Vanara.Extensions.InteropExtensions.StructureToPtr for a name change to MarshalToPtr for consistency.
2) Added parameter to all methods reading memory that allows developer to indicate size of allocated memory they read from.
3) Enabled the ability to read/write enum values from memory in all extension methods.
4) Added Write methods for writing to memory
2019-08-17 21:13:57 -06:00
David Hall
ae0251ded9
Changed structure input parameter to CreateFromStructure to 'in' for memory classes
2019-07-27 13:05:10 -06:00
David Hall
683280a945
Updated constructors of all SafeAllocatedMemory derivatives to use SizeT instead of int for the size parameter.
2019-07-27 12:48:33 -06:00
David Hall
64b2911d5e
BREAKING CHANGE: Changed CorrepsondingAction to CorrespondingAction due to misspelling.
2019-07-12 09:49:54 -06:00
David Hall
ceff427cb9
Breaking fixes on heap functions. Added helper methods and prevented use of raw pointer for heap allocation to prevent memory leaks. Fixed bugs on function definitions.
2019-06-17 13:47:28 -06:00
David Hall
eaa0dd74d3
Fixed #55 by converting array to values (all reserved/unused so change shouldn't affect anyone)
2019-06-06 09:58:43 -06:00
David Hall
4272101c17
Fixed param on DestroyHeap
2019-02-06 07:31:38 -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
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
ef801b11a9
Added conversion methods
2018-12-02 12:18:50 -07:00
David Hall
8a1355b0af
Updated comments
2018-11-28 12:33:55 -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
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
5d907ff3a3
100's of new methods to Kernel32
2018-05-13 21:41:49 -06:00
David Hall
da627dad2e
Initial load: Extra libraries and unit tests
2017-11-27 11:11:20 -07:00