mirror of
https://github.com/ZuneDev/ZuneShell.dll.git
synced 2026-07-27 13:11:51 -07:00
Added generic CComPtrMgd class
This commit is contained in:
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CDeviceMediator_003E : IDisposable
|
||||
{
|
||||
public unsafe DeviceMediator* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CDeviceMediator_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CDeviceMediator_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
DeviceMediator* ptr = p;
|
||||
DeviceMediator* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
public static unsafe implicit operator DeviceMediator*(CComPtrMgd_003CDeviceMediator_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe DeviceMediator* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe DeviceMediator* op_Assign(DeviceMediator* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CDeviceMediator_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CEndpointHostManagerMediator_003E : IDisposable
|
||||
{
|
||||
public unsafe EndpointHostManagerMediator* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CEndpointHostManagerMediator_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CEndpointHostManagerMediator_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
EndpointHostManagerMediator* ptr = p;
|
||||
EndpointHostManagerMediator* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CEndpointHostManagerMediator_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe EndpointHostManagerMediator* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe EndpointHostManagerMediator* op_Assign(EndpointHostManagerMediator* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
[return: MarshalAs(UnmanagedType.U1)]
|
||||
public static unsafe bool operator !(CComPtrMgd_003CEndpointHostManagerMediator_003E obj)
|
||||
{
|
||||
return (long)(nint)obj.p == 0;
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CGasGaugeMediator_003E : IDisposable
|
||||
{
|
||||
public unsafe GasGaugeMediator* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CGasGaugeMediator_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CGasGaugeMediator_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
GasGaugeMediator* ptr = p;
|
||||
GasGaugeMediator* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CGasGaugeMediator_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator GasGaugeMediator*(CComPtrMgd_003CGasGaugeMediator_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe GasGaugeMediator* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe GasGaugeMediator* op_Assign(GasGaugeMediator* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
@@ -1,83 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIAccountManagement_003E : IDisposable
|
||||
{
|
||||
public unsafe IAccountManagement* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIAccountManagement_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIAccountManagement_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IAccountManagement* ptr = p;
|
||||
IAccountManagement* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IAccountManagement* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IAccountManagement* op_Assign(IAccountManagement* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
[return: MarshalAs(UnmanagedType.U1)]
|
||||
public static unsafe bool operator !(CComPtrMgd_003CIAccountManagement_003E self)
|
||||
{
|
||||
return (long)(nint)self.p == 0;
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIAccountManagement_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
}
|
||||
@@ -1,71 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIAsyncCallback_003E : IDisposable
|
||||
{
|
||||
public unsafe IAsyncCallback* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIAsyncCallback_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIAsyncCallback_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IAsyncCallback* ptr = p;
|
||||
IAsyncCallback* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IAsyncCallback* op_Assign(IAsyncCallback* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIAsyncCallback_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIEndpointHost_003E : IDisposable
|
||||
{
|
||||
public unsafe IEndpointHost* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIEndpointHost_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIEndpointHost_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IEndpointHost* ptr = p;
|
||||
IEndpointHost* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IEndpointHost*(CComPtrMgd_003CIEndpointHost_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IEndpointHost* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IEndpointHost* op_Assign(IEndpointHost* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIEndpointHost_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIEndpointHostManager_003E : IDisposable
|
||||
{
|
||||
public unsafe IEndpointHostManager* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIEndpointHostManager_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIEndpointHostManager_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IEndpointHostManager* ptr = p;
|
||||
IEndpointHostManager* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIEndpointHostManager_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IEndpointHostManager*(CComPtrMgd_003CIEndpointHostManager_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IEndpointHostManager* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IEndpointHostManager* op_Assign(IEndpointHostManager* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIFirmwareMetadata_003E : IDisposable
|
||||
{
|
||||
public unsafe IFirmwareMetadata* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIFirmwareMetadata_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIFirmwareMetadata_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IFirmwareMetadata* ptr = p;
|
||||
IFirmwareMetadata* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIFirmwareMetadata_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IFirmwareMetadata*(CComPtrMgd_003CIFirmwareMetadata_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareMetadata* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareMetadata* op_Assign(IFirmwareMetadata* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIFirmwareRestorePoint_003E : IDisposable
|
||||
{
|
||||
public unsafe IFirmwareRestorePoint* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIFirmwareRestorePoint_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIFirmwareRestorePoint_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IFirmwareRestorePoint* ptr = p;
|
||||
IFirmwareRestorePoint* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIFirmwareRestorePoint_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IFirmwareRestorePoint*(CComPtrMgd_003CIFirmwareRestorePoint_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareRestorePoint* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareRestorePoint* op_Assign(IFirmwareRestorePoint* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIFirmwareRestorePointCollection_003E : IDisposable
|
||||
{
|
||||
public unsafe IFirmwareRestorePointCollection* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIFirmwareRestorePointCollection_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIFirmwareRestorePointCollection_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IFirmwareRestorePointCollection* ptr = p;
|
||||
IFirmwareRestorePointCollection* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIFirmwareRestorePointCollection_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IFirmwareRestorePointCollection*(CComPtrMgd_003CIFirmwareRestorePointCollection_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareRestorePointCollection* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareRestorePointCollection* op_Assign(IFirmwareRestorePointCollection* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIFirmwareRestorer_003E : IDisposable
|
||||
{
|
||||
public unsafe IFirmwareRestorer* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIFirmwareRestorer_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIFirmwareRestorer_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IFirmwareRestorer* ptr = p;
|
||||
IFirmwareRestorer* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIFirmwareRestorer_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IFirmwareRestorer*(CComPtrMgd_003CIFirmwareRestorer_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareRestorer* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareRestorer* op_Assign(IFirmwareRestorer* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIFirmwareUpdateCallbackData_003E : IDisposable
|
||||
{
|
||||
public unsafe IFirmwareUpdateCallbackData* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIFirmwareUpdateCallbackData_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIFirmwareUpdateCallbackData_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IFirmwareUpdateCallbackData* ptr = p;
|
||||
IFirmwareUpdateCallbackData* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIFirmwareUpdateCallbackData_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IFirmwareUpdateCallbackData*(CComPtrMgd_003CIFirmwareUpdateCallbackData_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareUpdateCallbackData* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareUpdateCallbackData* op_Assign(IFirmwareUpdateCallbackData* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIFirmwareUpdateCollection_003E : IDisposable
|
||||
{
|
||||
public unsafe IFirmwareUpdateCollection* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIFirmwareUpdateCollection_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIFirmwareUpdateCollection_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IFirmwareUpdateCollection* ptr = p;
|
||||
IFirmwareUpdateCollection* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIFirmwareUpdateCollection_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IFirmwareUpdateCollection*(CComPtrMgd_003CIFirmwareUpdateCollection_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareUpdateCollection* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareUpdateCollection* op_Assign(IFirmwareUpdateCollection* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIFirmwareUpdateErrorInfo_003E : IDisposable
|
||||
{
|
||||
public unsafe IFirmwareUpdateErrorInfo* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIFirmwareUpdateErrorInfo_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIFirmwareUpdateErrorInfo_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IFirmwareUpdateErrorInfo* ptr = p;
|
||||
IFirmwareUpdateErrorInfo* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIFirmwareUpdateErrorInfo_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IFirmwareUpdateErrorInfo*(CComPtrMgd_003CIFirmwareUpdateErrorInfo_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareUpdateErrorInfo* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareUpdateErrorInfo* op_Assign(IFirmwareUpdateErrorInfo* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
@@ -1,112 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIFirmwareUpdater_003E : IDisposable
|
||||
{
|
||||
public unsafe IFirmwareUpdater* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIFirmwareUpdater_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIFirmwareUpdater_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IFirmwareUpdater* ptr = p;
|
||||
IFirmwareUpdater* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIFirmwareUpdater_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IFirmwareUpdater*(CComPtrMgd_003CIFirmwareUpdater_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareUpdater* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IFirmwareUpdater* op_Assign(IFirmwareUpdater* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
public unsafe int CopyTo(IFirmwareUpdater** ppT)
|
||||
{
|
||||
//IL_0020: Expected I8, but got I
|
||||
//IL_0036: Expected I, but got I8
|
||||
if (ppT == null)
|
||||
{
|
||||
Module._ZuneShipAssert(1001u, 168u);
|
||||
return -2147467261;
|
||||
}
|
||||
*(long*)ppT = (nint)p;
|
||||
IFirmwareUpdater* ptr = p;
|
||||
if (ptr != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr + 8)))((nint)ptr);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
public unsafe int QueryInterfaceIFirmwareUpdater2(IFirmwareUpdater2** pp)
|
||||
{
|
||||
//IL_002e: Expected I, but got I8
|
||||
IFirmwareUpdater* ptr = p;
|
||||
if (ptr == null)
|
||||
{
|
||||
Module._ZuneShipAssert(1001u, 186u);
|
||||
return -2147467261;
|
||||
}
|
||||
return ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, _GUID*, void**, int>)(*(ulong*)(*(ulong*)ptr)))((nint)ptr, &Module.GUID_IFirmwareUpdater2, (void**)pp);
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIGasGauge_003E : IDisposable
|
||||
{
|
||||
public unsafe IGasGauge* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIGasGauge_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIGasGauge_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IGasGauge* ptr = p;
|
||||
IGasGauge* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIGasGauge_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IGasGauge*(CComPtrMgd_003CIGasGauge_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IGasGauge* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IGasGauge* op_Assign(IGasGauge* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
}
|
||||
@@ -1,82 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIJumpList_003E : IDisposable
|
||||
{
|
||||
public unsafe IJumpList* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIJumpList_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIJumpList_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IJumpList* ptr = p;
|
||||
IJumpList* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IJumpList*(CComPtrMgd_003CIJumpList_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IJumpList* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IJumpList* op_Assign(IJumpList* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIJumpList_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIJumpListCategory_003E : IDisposable
|
||||
{
|
||||
public unsafe IJumpListCategory* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIJumpListCategory_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIJumpListCategory_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IJumpListCategory* ptr = p;
|
||||
IJumpListCategory* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IJumpListCategory* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IJumpListCategory* op_Assign(IJumpListCategory* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIJumpListCategory_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
}
|
||||
@@ -1,77 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIJumpListEntry_003E : IDisposable
|
||||
{
|
||||
public unsafe IJumpListEntry* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIJumpListEntry_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIJumpListEntry_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IJumpListEntry* ptr = p;
|
||||
IJumpListEntry* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IJumpListEntry* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IJumpListEntry* op_Assign(IJumpListEntry* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIJumpListEntry_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
}
|
||||
@@ -1,94 +0,0 @@
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
internal class CComPtrMgd_003CIPassportIdentity_003E : IDisposable
|
||||
{
|
||||
public unsafe IPassportIdentity* p = null;
|
||||
|
||||
private void _007ECComPtrMgd_003CIPassportIdentity_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
private void _0021CComPtrMgd_003CIPassportIdentity_003E()
|
||||
{
|
||||
Release();
|
||||
}
|
||||
|
||||
public unsafe void Release()
|
||||
{
|
||||
//IL_0014: Expected I, but got I8
|
||||
//IL_0021: Expected I, but got I8
|
||||
IPassportIdentity* ptr = p;
|
||||
IPassportIdentity* ptr2 = ptr;
|
||||
if (ptr != null)
|
||||
{
|
||||
p = null;
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)ptr2 + 16)))((nint)ptr2);
|
||||
}
|
||||
}
|
||||
|
||||
protected virtual void Dispose([MarshalAs(UnmanagedType.U1)] bool P_0)
|
||||
{
|
||||
if (P_0)
|
||||
{
|
||||
Release();
|
||||
return;
|
||||
}
|
||||
try
|
||||
{
|
||||
Release();
|
||||
}
|
||||
finally
|
||||
{
|
||||
//base.Finalize();
|
||||
}
|
||||
}
|
||||
|
||||
public void Dispose()
|
||||
{
|
||||
Dispose(true);
|
||||
}
|
||||
|
||||
~CComPtrMgd_003CIPassportIdentity_003E()
|
||||
{
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
public static unsafe implicit operator IPassportIdentity*(CComPtrMgd_003CIPassportIdentity_003E obj)
|
||||
{
|
||||
return obj.p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IPassportIdentity* op_MemberSelection()
|
||||
{
|
||||
return p;
|
||||
}
|
||||
|
||||
[SpecialName]
|
||||
public unsafe IPassportIdentity* op_Assign(IPassportIdentity* lp)
|
||||
{
|
||||
//IL_001c: Expected I, but got I8
|
||||
Release();
|
||||
p = lp;
|
||||
if (lp != null)
|
||||
{
|
||||
((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, uint>)(*(ulong*)(*(long*)lp + 8)))((nint)lp);
|
||||
}
|
||||
return p;
|
||||
}
|
||||
|
||||
public unsafe int QueryInterface_003CIPassportIdentity_003E(IPassportIdentity** pp)
|
||||
{
|
||||
//IL_002e: Expected I, but got I8
|
||||
IPassportIdentity* ptr = p;
|
||||
if (ptr == null)
|
||||
{
|
||||
Module._ZuneShipAssert(1001u, 186u);
|
||||
return -2147467261;
|
||||
}
|
||||
return ((delegate* unmanaged[Cdecl, Cdecl]<IntPtr, _GUID*, void**, int>)(*(ulong*)(*(ulong*)ptr)))((nint)ptr, (_GUID*)Unsafe.AsPointer(ref Module.GUID_IPassportIdentity), (void**)pp);
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user