internal unsafe void MarshalTo(Interop.SparseMemoryBind *pointer) { this.Memory?.MarshalTo(&pointer->Memory); pointer->ResourceOffset = this.ResourceOffset; pointer->Size = this.Size; pointer->MemoryOffset = this.MemoryOffset; pointer->Flags = this.Flags; }
internal SparseMemoryBind(Interop.SparseMemoryBind* ptr) { m = ptr; Initialize (); }
public SparseMemoryBind() { m = (Interop.SparseMemoryBind*) Interop.Structure.Allocate (typeof (Interop.SparseMemoryBind)); Initialize (); }