// <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*, void*, int> Set_3;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint*, int> GetPropagationTokenSize_4;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, byte*, uint*, int> MarshalPropagationToken_5;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, byte*, int> UnmarshalReturnToken_6;
public unsafe delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int> Reset_7;
}
file sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
public static global::System.Guid Iid { get; } = new([1, 62, 49, 89, 108, 179, 207, 17, 165, 57, 0, 170, 0, 104, 135, 195]);
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.ITransactionTransmitter
{
[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.Set_3 = &ABI_Set;
Vtable.GetPropagationTokenSize_4 = &ABI_GetPropagationTokenSize;
Vtable.MarshalPropagationToken_5 = &ABI_MarshalPropagationToken;
Vtable.UnmarshalReturnToken_6 = &ABI_UnmarshalReturnToken;
Vtable.Reset_7 = &ABI_Reset;
}
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "12.0.14.46520")]
void global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter.Set(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransaction transaction)
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter));
var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, int> )__vtable[3]);
{
void* __transaction_native = default;
int __invokeRetVal = default;
try
{
// Marshal - Convert managed data to native data.
__transaction_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransaction>.ConvertToUnmanaged(transaction);
{
__invokeRetVal = __target(__this, __transaction_native);
}
// 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([1, 62, 49, 89, 108, 179, 207, 17, 165, 57, 0, 170, 0, 104, 135, 195]), (global::System.IntPtr)__this);
}
finally
{
// CleanupCallerAllocated - Perform cleanup of caller allocated resources.
global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransaction>.Free(__transaction_native);
}
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_Set(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void* __transaction_native)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter @this = default;
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransaction transaction = default;
int __retVal = default;
try
{
// Unmarshal - Convert native data to managed data.
__retVal = 0; // S_OK
transaction = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransaction>.ConvertToManaged(__transaction_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter>(__this_native);
@this.Set(transaction);
}
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.ITransactionTransmitter.GetPropagationTokenSize(out uint pcbToken)
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int> )__vtable[4]);
{
pcbToken = default;
int __invokeRetVal;
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (uint* __pcbToken_native = &pcbToken)
{
__invokeRetVal = __target(__this, __pcbToken_native);
}
// 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([1, 62, 49, 89, 108, 179, 207, 17, 165, 57, 0, 170, 0, 104, 135, 195]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_GetPropagationTokenSize(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint* __pcbToken_native__param)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter @this = default;
ref uint __pcbToken_native = ref *__pcbToken_native__param;
uint pcbToken = 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.ITransactionTransmitter>(__this_native);
@this.GetPropagationTokenSize(out pcbToken);
// Marshal - Convert managed data to native data.
__pcbToken_native = pcbToken;
}
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.ITransactionTransmitter.MarshalPropagationToken(uint cbToken, byte[] rgbToken, out uint pcbUsed)
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, byte*, uint*, int> )__vtable[5]);
{
pcbUsed = default;
int __invokeRetVal;
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (uint* __pcbUsed_native = &pcbUsed)
fixed (void* __rgbToken_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.ManagedToUnmanagedIn.GetPinnableReference(rgbToken))
{
__invokeRetVal = __target(__this, cbToken, (byte*)__rgbToken_native, __pcbUsed_native);
}
// 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([1, 62, 49, 89, 108, 179, 207, 17, 165, 57, 0, 170, 0, 104, 135, 195]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_MarshalPropagationToken(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint cbToken, byte* __rgbToken_native, uint* __pcbUsed_native__param)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter @this = default;
byte[] rgbToken = default;
ref uint __pcbUsed_native = ref *__pcbUsed_native__param;
uint pcbUsed = default;
int __retVal = default;
// Setup - Perform required setup.
int __rgbToken_native__numElements;
__rgbToken_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__retVal = 0; // S_OK
__rgbToken_native__numElements = checked((int)(cbToken));
rgbToken = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.AllocateContainerForManagedElements(__rgbToken_native, __rgbToken_native__numElements);
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.GetUnmanagedValuesSource(__rgbToken_native, __rgbToken_native__numElements).CopyTo(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.GetManagedValuesDestination(rgbToken));
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter>(__this_native);
@this.MarshalPropagationToken(cbToken, rgbToken, out pcbUsed);
// Marshal - Convert managed data to native data.
__pcbUsed_native = pcbUsed;
}
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.ITransactionTransmitter.UnmarshalReturnToken(uint cbReturnToken, byte[] rgbToken)
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter));
var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, byte*, int> )__vtable[6]);
{
int __invokeRetVal;
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __rgbToken_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.ManagedToUnmanagedIn.GetPinnableReference(rgbToken))
{
__invokeRetVal = __target(__this, cbReturnToken, (byte*)__rgbToken_native);
}
// 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([1, 62, 49, 89, 108, 179, 207, 17, 165, 57, 0, 170, 0, 104, 135, 195]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_UnmarshalReturnToken(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint cbReturnToken, byte* __rgbToken_native)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter @this = default;
byte[] rgbToken = default;
int __retVal = default;
// Setup - Perform required setup.
int __rgbToken_native__numElements;
__rgbToken_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__retVal = 0; // S_OK
__rgbToken_native__numElements = checked((int)(cbReturnToken));
rgbToken = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.AllocateContainerForManagedElements(__rgbToken_native, __rgbToken_native__numElements);
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.GetUnmanagedValuesSource(__rgbToken_native, __rgbToken_native__numElements).CopyTo(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.GetManagedValuesDestination(rgbToken));
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter>(__this_native);
@this.UnmarshalReturnToken(cbReturnToken, rgbToken);
}
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.ITransactionTransmitter.Reset()
{
unsafe
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter));
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([1, 62, 49, 89, 108, 179, 207, 17, 165, 57, 0, 170, 0, 104, 135, 195]), (global::System.IntPtr)__this);
}
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static unsafe int ABI_Reset(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native)
{
unsafe
{
global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionTransmitter @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.ITransactionTransmitter>(__this_native);
@this.Reset();
}
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 ITransactionTransmitter
{
}
}