protected override bool ReleaseHandle()
 {
     HeapAllocStatic.OnFree(ByteLength);
     return(NativeMethods.HeapFree(HeapAllocStatic.ProcessHeapPtr, HeapFlags.Default, handle));
 }
示例#2
0
 public SafeHeapBlockHandle Alloc(int size)
 {
     return(HeapAllocStatic.Alloc(size));
 }