Example #1
0
 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;
 }
Example #2
0
 internal SparseMemoryBind(Interop.SparseMemoryBind* ptr)
 {
     m = ptr;
     Initialize ();
 }
Example #3
0
 public SparseMemoryBind()
 {
     m = (Interop.SparseMemoryBind*) Interop.Structure.Allocate (typeof (Interop.SparseMemoryBind));
     Initialize ();
 }