// <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*, uint*, int> GetPrepareInfoSize_3; public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, byte*, int> GetPrepareInfo_4; } file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType { public static global::System.Guid Iid { get; } = new([208, 191, 199, 128, 238, 135, 206, 17, 128, 129, 0, 128, 199, 88, 82, 126]); 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.IPrepareInfo { [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.GetPrepareInfoSize_3 = &ABI_GetPrepareInfoSize; Vtable.GetPrepareInfo_4 = &ABI_GetPrepareInfo; } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.26904")] void global::System.Transactions.DtcProxyShim.DtcInterfaces.IPrepareInfo.GetPrepareInfoSize(out uint pcbPrepInfo) { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.IPrepareInfo)); var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int> )__vtable[3]); { pcbPrepInfo = default; int __invokeRetVal; // Pin - Pin data in preparation for calling the P/Invoke. fixed (uint* __pcbPrepInfo_native = &pcbPrepInfo) { __invokeRetVal = __target(__this, __pcbPrepInfo_native); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([208, 191, 199, 128, 238, 135, 206, 17, 128, 129, 0, 128, 199, 88, 82, 126]), (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_GetPrepareInfoSize(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint* __pcbPrepInfo_native__param) { global::System.Transactions.DtcProxyShim.DtcInterfaces.IPrepareInfo @this = default; ref uint __pcbPrepInfo_native = ref *__pcbPrepInfo_native__param; uint pcbPrepInfo = 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.IPrepareInfo>(__this_native); @this.GetPrepareInfoSize(out pcbPrepInfo); // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. __retVal = 0; // S_OK // Marshal - Convert managed data to native data. __pcbPrepInfo_native = pcbPrepInfo; } 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.IPrepareInfo.GetPrepareInfo(byte[] pPrepInfo) { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.IPrepareInfo)); var __target = ((delegate* unmanaged[MemberFunction]<void*, byte*, int> )__vtable[4]); { int __invokeRetVal; // Pin - Pin data in preparation for calling the P/Invoke. fixed (void* __pPrepInfo_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.ManagedToUnmanagedIn.GetPinnableReference(pPrepInfo)) { __invokeRetVal = __target(__this, (byte*)__pPrepInfo_native); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([208, 191, 199, 128, 238, 135, 206, 17, 128, 129, 0, 128, 199, 88, 82, 126]), (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_GetPrepareInfo(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, byte* __pPrepInfo_native) { global::System.Transactions.DtcProxyShim.DtcInterfaces.IPrepareInfo @this = default; byte[] pPrepInfo = default; int __retVal = default; // Setup - Perform required setup. int __pPrepInfo_native__numElements; __pPrepInfo_native__numElements = default; try { // Unmarshal - Convert native data to managed data. __pPrepInfo_native__numElements = -1; pPrepInfo = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.AllocateContainerForManagedElements(__pPrepInfo_native, __pPrepInfo_native__numElements); global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.GetUnmanagedValuesSource(__pPrepInfo_native, __pPrepInfo_native__numElements).CopyTo(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.GetManagedValuesDestination(pPrepInfo)); @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.IPrepareInfo>(__this_native); @this.GetPrepareInfo(pPrepInfo); // 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 IPrepareInfo { } } |