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