internal unsafe void MarshalTo(Interop.MemoryAllocateInfo *pointer) { pointer->SType = StructureType.MemoryAllocateInfo; pointer->Next = null; pointer->AllocationSize = this.AllocationSize; pointer->MemoryTypeIndex = this.MemoryTypeIndex; }
internal MemoryAllocateInfo(Interop.MemoryAllocateInfo* ptr) { m = ptr; Initialize (); }
public MemoryAllocateInfo() { m = (Interop.MemoryAllocateInfo*) Interop.Structure.Allocate (typeof (Interop.MemoryAllocateInfo)); Initialize (); }