// <auto-generated />
#pragma warning disable CS0612, CS0618, CS0649, CS1591
[global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)]
file struct InterfaceImplementationVtable
{
public unsafe delegate* unmanaged[MemberFunction]<void*, global::System.Guid*, void**, int> QueryInterface_0;
public unsafe delegate* unmanaged[MemberFunction]<void*, uint> AddRef_1;
public unsafe delegate* unmanaged[MemberFunction]<void*, uint> Release_2;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, nint, nint, int> PrepareRequestDone_3;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int> CommitRequestDone_4;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int> AbortRequestDone_5;
}
file sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
public static global::System.Guid Iid { get; } = new([129, 80, 177, 15, 65, 175, 206, 17, 189, 43, 32, 76, 79, 79, 80, 32]);
public static unsafe void** ManagedVirtualMethodTable
{
get
{
unsafe
{
return (void**)global::System.Runtime.CompilerServices.Unsafe.AsPointer(in InterfaceImplementation.Vtable);
}
}
}
}
[global::System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute]
file unsafe interface InterfaceImplementation : global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync
{
[global::System.Runtime.CompilerServices.FixedAddressValueTypeAttribute]
public static readonly InterfaceImplementationVtable Vtable;
static InterfaceImplementation()
{
unsafe
{
global::System.Runtime.InteropServices.ComWrappers.GetIUnknownImpl(
out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->QueryInterface_0,
out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->AddRef_1,
out *(nint*)&((InterfaceImplementationVtable*)global::System.Runtime.CompilerServices.Unsafe.AsPointer(ref Vtable))->Release_2);
Vtable.PrepareRequestDone_3 = &ABI_PrepareRequestDone;
Vtable.CommitRequestDone_4 = &ABI_CommitRequestDone;
Vtable.AbortRequestDone_5 = &ABI_AbortRequestDone;
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.46520")]
void global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync.PrepareRequestDone(int hr, nint pmk, nint pboidReason)
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int, nint, nint, int> )__vtable[3]);
{
int __invokeRetVal;
{
__invokeRetVal = __target(__this, hr, pmk, pboidReason);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
// Unmarshal - Convert native data to managed data.
global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([129, 80, 177, 15, 65, 175, 206, 17, 189, 43, 32, 76, 79, 79, 80, 32]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_PrepareRequestDone(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int hr, nint pmk, nint pboidReason)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
__retVal = 0; // S_OK
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync>(__this_native);
@this.PrepareRequestDone(hr, pmk, pboidReason);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.46520")]
void global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync.CommitRequestDone(int hr)
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int, int> )__vtable[4]);
{
int __invokeRetVal;
{
__invokeRetVal = __target(__this, hr);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
// Unmarshal - Convert native data to managed data.
global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([129, 80, 177, 15, 65, 175, 206, 17, 189, 43, 32, 76, 79, 79, 80, 32]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_CommitRequestDone(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int hr)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
__retVal = 0; // S_OK
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync>(__this_native);
@this.CommitRequestDone(hr);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.46520")]
void global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync.AbortRequestDone(int hr)
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int, int> )__vtable[5]);
{
int __invokeRetVal;
{
__invokeRetVal = __target(__this, hr);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
// Unmarshal - Convert native data to managed data.
global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([129, 80, 177, 15, 65, 175, 206, 17, 189, 43, 32, 76, 79, 79, 80, 32]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_AbortRequestDone(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int hr)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync @this = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
__retVal = 0; // S_OK
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync>(__this_native);
@this.AbortRequestDone(hr);
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
}
}
namespace System.Transactions.DtcProxyShim.DtcInterfaces
{
[global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
internal unsafe partial interface ITransactionEnlistmentAsync
{
}
}