internal unsafe void MarshalTo(Interop.InstanceCreateInfo *pointer) { pointer->SType = StructureType.InstanceCreateInfo; pointer->Next = null; pointer->ApplicationInfo = this.ApplicationInfo == null ? null : this.ApplicationInfo.Value.MarshalTo(); pointer->EnabledLayerNames = this.EnabledLayerNames == null ? null : Interop.HeapUtil.MarshalTo(this.EnabledLayerNames); pointer->EnabledExtensionNames = this.EnabledExtensionNames == null ? null : Interop.HeapUtil.MarshalTo(this.EnabledExtensionNames); pointer->EnabledLayerCount = (uint)(this.EnabledLayerNames?.Length ?? 0); pointer->EnabledExtensionCount = (uint)(this.EnabledExtensionNames?.Length ?? 0); pointer->Flags = this.Flags; }
internal InstanceCreateInfo(Interop.InstanceCreateInfo* ptr) { m = ptr; Initialize (); }
public InstanceCreateInfo() { m = (Interop.InstanceCreateInfo*) Interop.Structure.Allocate (typeof (Interop.InstanceCreateInfo)); Initialize (); }