dahall
5f52aa7820
Added SafeMoveableHGlobalHandle class and added support to locking memory to all memory classes.
2022-01-16 17:22:34 -07: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
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
51edbded7c
Added static Instance properties to IMemoryMethods implementations
2019-04-08 11:42:16 -06:00
David Hall
627c6d2314
2.0 Checkin - Buildable
2018-10-26 12:24:07 -06:00
David Hall
b44f91b5a1
Initial code push: Core, PInvoke.Shared and PInvoke.TaskSchd
2017-11-27 10:18:01 -07:00