// <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, uint, int> Committed_3;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, nint, int, nint, uint, int> Aborted_4;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::System.Transactions.DtcProxyShim.OletxTransactionHeuristic, nint, uint, int> HeuristicDecision_5;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int> Indoubt_6;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int> VoteRequest_7;
}
file sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
public static global::System.Guid Iid { get; } = new([107, 55, 51, 84, 77, 65, 211, 17, 178, 6, 0, 192, 79, 194, 243, 239]);
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.ITransactionVoterNotifyAsync2
{
[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.Committed_3 = &ABI_Committed;
Vtable.Aborted_4 = &ABI_Aborted;
Vtable.HeuristicDecision_5 = &ABI_HeuristicDecision;
Vtable.Indoubt_6 = &ABI_Indoubt;
Vtable.VoteRequest_7 = &ABI_VoteRequest;
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.46520")]
void global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2.Committed(bool fRetaining, nint pNewUOW, uint hresult)
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int, nint, uint, int> )__vtable[3]);
{
int __fRetaining_native;
int __invokeRetVal;
// Marshal - Convert managed data to native data.
__fRetaining_native = (int)(fRetaining ? 1 : 0);
{
__invokeRetVal = __target(__this, __fRetaining_native, pNewUOW, hresult);
}
// 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([107, 55, 51, 84, 77, 65, 211, 17, 178, 6, 0, 192, 79, 194, 243, 239]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_Committed(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int __fRetaining_native, nint pNewUOW, uint hresult)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2 @this = default;
bool fRetaining = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
__retVal = 0; // S_OK
fRetaining = __fRetaining_native != 0;
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2>(__this_native);
@this.Committed(fRetaining, pNewUOW, hresult);
}
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.ITransactionVoterNotifyAsync2.Aborted(nint pboidReason, bool fRetaining, nint pNewUOW, uint hresult)
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2));
var __target = ((delegate* unmanaged[MemberFunction]<void*, nint, int, nint, uint, int> )__vtable[4]);
{
int __fRetaining_native;
int __invokeRetVal;
// Marshal - Convert managed data to native data.
__fRetaining_native = (int)(fRetaining ? 1 : 0);
{
__invokeRetVal = __target(__this, pboidReason, __fRetaining_native, pNewUOW, hresult);
}
// 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([107, 55, 51, 84, 77, 65, 211, 17, 178, 6, 0, 192, 79, 194, 243, 239]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_Aborted(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, nint pboidReason, int __fRetaining_native, nint pNewUOW, uint hresult)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2 @this = default;
bool fRetaining = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
__retVal = 0; // S_OK
fRetaining = __fRetaining_native != 0;
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2>(__this_native);
@this.Aborted(pboidReason, fRetaining, pNewUOW, hresult);
}
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.ITransactionVoterNotifyAsync2.HeuristicDecision(global::System.Transactions.DtcProxyShim.OletxTransactionHeuristic dwDecision, nint pboidReason, uint hresult)
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2));
var __target = ((delegate* unmanaged[MemberFunction]<void*, global::System.Transactions.DtcProxyShim.OletxTransactionHeuristic, nint, uint, int> )__vtable[5]);
{
int __invokeRetVal;
{
__invokeRetVal = __target(__this, dwDecision, pboidReason, hresult);
}
// 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([107, 55, 51, 84, 77, 65, 211, 17, 178, 6, 0, 192, 79, 194, 243, 239]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_HeuristicDecision(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::System.Transactions.DtcProxyShim.OletxTransactionHeuristic dwDecision, nint pboidReason, uint hresult)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2 @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.ITransactionVoterNotifyAsync2>(__this_native);
@this.HeuristicDecision(dwDecision, pboidReason, hresult);
}
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.ITransactionVoterNotifyAsync2.Indoubt()
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int> )__vtable[6]);
{
int __invokeRetVal;
{
__invokeRetVal = __target(__this);
}
// 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([107, 55, 51, 84, 77, 65, 211, 17, 178, 6, 0, 192, 79, 194, 243, 239]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_Indoubt(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2 @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.ITransactionVoterNotifyAsync2>(__this_native);
@this.Indoubt();
}
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.ITransactionVoterNotifyAsync2.VoteRequest()
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2));
var __target = ((delegate* unmanaged[MemberFunction]<void*, int> )__vtable[7]);
{
int __invokeRetVal;
{
__invokeRetVal = __target(__this);
}
// 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([107, 55, 51, 84, 77, 65, 211, 17, 178, 6, 0, 192, 79, 194, 243, 239]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_VoteRequest(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionVoterNotifyAsync2 @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.ITransactionVoterNotifyAsync2>(__this_native);
@this.VoteRequest();
}
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 ITransactionVoterNotifyAsync2
{
}
}