// <auto-generated /> #pragma warning disable CS0612, CS0618, CS0649, CS1591 [global::System.Runtime.InteropServices.StructLayoutAttribute(global::System.Runtime.InteropServices.LayoutKind.Sequential)] file unsafe struct InterfaceImplementationVtable { public delegate* unmanaged[MemberFunction]<void*, global::System.Guid*, void**, int> QueryInterface_0; public delegate* unmanaged[MemberFunction]<void*, uint> AddRef_1; public delegate* unmanaged[MemberFunction]<void*, uint> Release_2; public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int> Phase0Request_3; public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int, int> EnlistCompleted_4; } file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType { public static global::System.Guid Iid { get; } = new([9, 24, 8, 239, 118, 12, 210, 17, 135, 166, 0, 192, 79, 153, 15, 52]); public static void** ManagedVirtualMethodTable => (void**)global::System.Runtime.CompilerServices.Unsafe.AsPointer(in InterfaceImplementation.Vtable); } [global::System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute] file unsafe interface InterfaceImplementation : global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionPhase0NotifyAsync { [global::System.Runtime.CompilerServices.FixedAddressValueTypeAttribute] public static readonly InterfaceImplementationVtable Vtable; static InterfaceImplementation() { 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.Phase0Request_3 = &ABI_Phase0Request; Vtable.EnlistCompleted_4 = &ABI_EnlistCompleted; } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.26904")] void global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionPhase0NotifyAsync.Phase0Request(bool fAbortHint) { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionPhase0NotifyAsync)); var __target = ((delegate* unmanaged[MemberFunction]<void*, int, int> )__vtable[3]); { int __fAbortHint_native; int __invokeRetVal; // Marshal - Convert managed data to native data. __fAbortHint_native = (int)(fAbortHint ? 1 : 0); { __invokeRetVal = __target(__this, __fAbortHint_native); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([9, 24, 8, 239, 118, 12, 210, 17, 135, 166, 0, 192, 79, 153, 15, 52]), (global::System.IntPtr)__this); global::System.GC.KeepAlive(this); } } [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })] internal static int ABI_Phase0Request(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int __fAbortHint_native) { global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionPhase0NotifyAsync @this = default; bool fAbortHint = default; int __retVal = default; try { // Unmarshal - Convert native data to managed data. fAbortHint = __fAbortHint_native != 0; @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionPhase0NotifyAsync>(__this_native); @this.Phase0Request(fAbortHint); // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. __retVal = 0; // S_OK } 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", "11.0.14.26904")] void global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionPhase0NotifyAsync.EnlistCompleted(int status) { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionPhase0NotifyAsync)); var __target = ((delegate* unmanaged[MemberFunction]<void*, int, int> )__vtable[4]); { int __invokeRetVal; { __invokeRetVal = __target(__this, status); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([9, 24, 8, 239, 118, 12, 210, 17, 135, 166, 0, 192, 79, 153, 15, 52]), (global::System.IntPtr)__this); global::System.GC.KeepAlive(this); } } [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })] internal static int ABI_EnlistCompleted(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, int status) { global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionPhase0NotifyAsync @this = default; int __retVal = default; try { // Unmarshal - Convert native data to managed data. @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionPhase0NotifyAsync>(__this_native); @this.EnlistCompleted(status); // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. __retVal = 0; // S_OK } 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 ITransactionPhase0NotifyAsync { } } |