private static void *_CopyValue(DeviceTypes.ATAnalogActionUnsafe._Internal native) { var ret = Marshal.AllocHGlobal(sizeof(DeviceTypes.ATAnalogActionUnsafe._Internal)); *(DeviceTypes.ATAnalogActionUnsafe._Internal *)ret = native; return(ret.ToPointer()); }
private ATAnalogActionUnsafe(DeviceTypes.ATAnalogActionUnsafe._Internal native, bool skipVTables = false) : this(_CopyValue(native), skipVTables) { _ownsNativeInstance = true; NativeToManagedMap[_Instance] = this; }
internal static DeviceTypes.ATAnalogActionUnsafe _CreateInstance(DeviceTypes.ATAnalogActionUnsafe._Internal native, bool skipVTables = false) { return(new DeviceTypes.ATAnalogActionUnsafe(native, skipVTables)); }