// <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> GetWhereaboutsSize_3; public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, uint, byte*, uint*, int> GetWhereabouts_4; } file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType { public static global::System.Guid Iid { get; } = new([164, 253, 65, 1, 192, 143, 206, 17, 189, 24, 32, 76, 79, 79, 80, 32]); 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.ITransactionImportWhereabouts { [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.GetWhereaboutsSize_3 = &ABI_GetWhereaboutsSize; Vtable.GetWhereabouts_4 = &ABI_GetWhereabouts; } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.26904")] void global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionImportWhereabouts.GetWhereaboutsSize(out uint pcbSize) { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionImportWhereabouts)); var __target = ((delegate* unmanaged[MemberFunction]<void*, uint*, int> )__vtable[3]); { pcbSize = default; int __invokeRetVal; // Pin - Pin data in preparation for calling the P/Invoke. fixed (uint* __pcbSize_native = &pcbSize) { __invokeRetVal = __target(__this, __pcbSize_native); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([164, 253, 65, 1, 192, 143, 206, 17, 189, 24, 32, 76, 79, 79, 80, 32]), (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_GetWhereaboutsSize(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint* __pcbSize_native__param) { global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionImportWhereabouts @this = default; ref uint __pcbSize_native = ref *__pcbSize_native__param; uint pcbSize = 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.ITransactionImportWhereabouts>(__this_native); @this.GetWhereaboutsSize(out pcbSize); // 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. __pcbSize_native = pcbSize; } 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.ITransactionImportWhereabouts.GetWhereabouts(uint cbWhereabouts, byte[] rgbWhereabouts, out uint pcbUsed) { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionImportWhereabouts)); var __target = ((delegate* unmanaged[MemberFunction]<void*, uint, byte*, uint*, int> )__vtable[4]); { pcbUsed = default; int __invokeRetVal; // Pin - Pin data in preparation for calling the P/Invoke. fixed (uint* __pcbUsed_native = &pcbUsed) fixed (void* __rgbWhereabouts_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.ManagedToUnmanagedIn.GetPinnableReference(rgbWhereabouts)) { __invokeRetVal = __target(__this, cbWhereabouts, (byte*)__rgbWhereabouts_native, __pcbUsed_native); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([164, 253, 65, 1, 192, 143, 206, 17, 189, 24, 32, 76, 79, 79, 80, 32]), (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_GetWhereabouts(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, uint cbWhereabouts, byte* __rgbWhereabouts_native, uint* __pcbUsed_native__param) { global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionImportWhereabouts @this = default; byte[] rgbWhereabouts = default; ref uint __pcbUsed_native = ref *__pcbUsed_native__param; uint pcbUsed = default; int __retVal = default; // Setup - Perform required setup. int __rgbWhereabouts_native__numElements; __rgbWhereabouts_native__numElements = default; try { // Unmarshal - Convert native data to managed data. __rgbWhereabouts_native__numElements = checked((int)(cbWhereabouts)); rgbWhereabouts = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.AllocateContainerForManagedElements(__rgbWhereabouts_native, __rgbWhereabouts_native__numElements); global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.GetUnmanagedValuesSource(__rgbWhereabouts_native, __rgbWhereabouts_native__numElements).CopyTo(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.GetManagedValuesDestination(rgbWhereabouts)); @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionImportWhereabouts>(__this_native); @this.GetWhereabouts(cbWhereabouts, rgbWhereabouts, out pcbUsed); // 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. __pcbUsed_native = pcbUsed; } 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 ITransactionImportWhereabouts { } } |