private static void *__CopyValue(AudioOutputDescription.Internal native) { var ret = Marshal.AllocHGlobal(sizeof(AudioOutputDescription.Internal)); *(AudioOutputDescription.Internal *)ret = native; return(ret.ToPointer()); }
private AudioOutputDescription(AudioOutputDescription.Internal native, bool skipVTables = false) : this(__CopyValue(native), skipVTables) { __ownsNativeInstance = true; NativeToManagedMap[__Instance] = this; }
internal static AudioOutputDescription __CreateInstance(AudioOutputDescription.Internal native, bool skipVTables = false) { return(new AudioOutputDescription(native, skipVTables)); }