Esempio n. 1
0
 public void Dispose()
 {
     MemUtil.Free((IntPtr)NativePointer);
     NativePointer = null;
     GC.SuppressFinalize(this);
 }
Esempio n. 2
0
 public EventCreateInfo()
 {
     NativePointer        = (Unmanaged.EventCreateInfo *)MemUtil.Alloc(typeof(Unmanaged.EventCreateInfo));
     NativePointer->SType = StructureType.EventCreateInfo;
 }