// <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*, void*, void*, global::System.Guid*, global::System.Transactions.DtcProxyShim.OletxTransactionIsolationLevel*, void**, int> Enlist_3; public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, byte*, uint, uint, global::System.Transactions.DtcProxyShim.OletxXactStat*, int> Reenlist_4; public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, int> ReenlistmentComplete_5; public delegate* unmanaged[MemberFunction]<global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch*, global::System.Guid*, void**, int> GetDistributedTransactionManager_6; } file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType { public static global::System.Guid Iid { get; } = new([33, 29, 116, 19, 235, 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.IResourceManager { [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.Enlist_3 = &ABI_Enlist; Vtable.Reenlist_4 = &ABI_Reenlist; Vtable.ReenlistmentComplete_5 = &ABI_ReenlistmentComplete; Vtable.GetDistributedTransactionManager_6 = &ABI_GetDistributedTransactionManager; } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.26904")] void global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager.Enlist(global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransaction pTransaction, global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionResourceAsync pRes, out global::System.Guid pUOW, out global::System.Transactions.DtcProxyShim.OletxTransactionIsolationLevel pisoLevel, out global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync ppEnlist) { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager)); var __target = ((delegate* unmanaged[MemberFunction]<void*, void*, void*, global::System.Guid*, global::System.Transactions.DtcProxyShim.OletxTransactionIsolationLevel*, void**, int> )__vtable[3]); { bool __invokeSucceeded = default; pUOW = default; pisoLevel = default; ppEnlist = default; void* __pTransaction_native = default; void* __pRes_native = default; void* __ppEnlist_native = default; int __invokeRetVal = default; try { // Marshal - Convert managed data to native data. __pRes_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionResourceAsync>.ConvertToUnmanaged(pRes); __pTransaction_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransaction>.ConvertToUnmanaged(pTransaction); // Pin - Pin data in preparation for calling the P/Invoke. fixed (global::System.Transactions.DtcProxyShim.OletxTransactionIsolationLevel* __pisoLevel_native = &pisoLevel) fixed (global::System.Guid* __pUOW_native = &pUOW) { __invokeRetVal = __target(__this, __pTransaction_native, __pRes_native, __pUOW_native, __pisoLevel_native, &__ppEnlist_native); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([33, 29, 116, 19, 235, 135, 206, 17, 128, 129, 0, 128, 199, 88, 82, 126]), (global::System.IntPtr)__this); global::System.GC.KeepAlive(this); __invokeSucceeded = true; // Unmarshal - Convert native data to managed data. ppEnlist = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync>.ConvertToManaged(__ppEnlist_native); } finally { if (__invokeSucceeded) { // CleanupCalleeAllocated - Perform cleanup of callee allocated resources. global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync>.Free(__ppEnlist_native); } // CleanupCallerAllocated - Perform cleanup of caller allocated resources. global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionResourceAsync>.Free(__pRes_native); global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransaction>.Free(__pTransaction_native); } } } [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })] internal static int ABI_Enlist(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, void* __pTransaction_native, void* __pRes_native, global::System.Guid* __pUOW_native__param, global::System.Transactions.DtcProxyShim.OletxTransactionIsolationLevel* __pisoLevel_native__param, void** __ppEnlist_native__param) { global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager @this = default; global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransaction pTransaction = default; global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionResourceAsync pRes = default; ref global::System.Guid __pUOW_native = ref *__pUOW_native__param; global::System.Guid pUOW = default; ref global::System.Transactions.DtcProxyShim.OletxTransactionIsolationLevel __pisoLevel_native = ref *__pisoLevel_native__param; global::System.Transactions.DtcProxyShim.OletxTransactionIsolationLevel pisoLevel = default; ref void* __ppEnlist_native = ref *__ppEnlist_native__param; global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync ppEnlist = default; int __retVal = default; try { // Unmarshal - Convert native data to managed data. pRes = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionResourceAsync>.ConvertToManaged(__pRes_native); pTransaction = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransaction>.ConvertToManaged(__pTransaction_native); @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager>(__this_native); @this.Enlist(pTransaction, pRes, out pUOW, out pisoLevel, out ppEnlist); // 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. __ppEnlist_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<global::System.Transactions.DtcProxyShim.DtcInterfaces.ITransactionEnlistmentAsync>.ConvertToUnmanaged(ppEnlist); __pisoLevel_native = pisoLevel; __pUOW_native = pUOW; } 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.IResourceManager.Reenlist(byte[] pPrepInfo, uint cbPrepInfom, uint lTimeout, out global::System.Transactions.DtcProxyShim.OletxXactStat pXactStat) { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager)); var __target = ((delegate* unmanaged[MemberFunction]<void*, byte*, uint, uint, global::System.Transactions.DtcProxyShim.OletxXactStat*, int> )__vtable[4]); { pXactStat = default; int __invokeRetVal; // Pin - Pin data in preparation for calling the P/Invoke. fixed (global::System.Transactions.DtcProxyShim.OletxXactStat* __pXactStat_native = &pXactStat) fixed (void* __pPrepInfo_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<byte, byte>.ManagedToUnmanagedIn.GetPinnableReference(pPrepInfo)) { __invokeRetVal = __target(__this, (byte*)__pPrepInfo_native, cbPrepInfom, lTimeout, __pXactStat_native); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([33, 29, 116, 19, 235, 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_Reenlist(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, byte* __pPrepInfo_native, uint cbPrepInfom, uint lTimeout, global::System.Transactions.DtcProxyShim.OletxXactStat* __pXactStat_native__param) { global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager @this = default; byte[] pPrepInfo = default; ref global::System.Transactions.DtcProxyShim.OletxXactStat __pXactStat_native = ref *__pXactStat_native__param; global::System.Transactions.DtcProxyShim.OletxXactStat pXactStat = 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 = checked((int)(cbPrepInfom)); 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.IResourceManager>(__this_native); @this.Reenlist(pPrepInfo, cbPrepInfom, lTimeout, out pXactStat); // 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. __pXactStat_native = pXactStat; } 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.IResourceManager.ReenlistmentComplete() { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager)); var __target = ((delegate* unmanaged[MemberFunction]<void*, int> )__vtable[5]); { int __invokeRetVal; { __invokeRetVal = __target(__this); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([33, 29, 116, 19, 235, 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_ReenlistmentComplete(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native) { global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager @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.IResourceManager>(__this_native); @this.ReenlistmentComplete(); // 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.IResourceManager.GetDistributedTransactionManager(in global::System.Guid riid, out object ppvObject) { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager)); var __target = ((delegate* unmanaged[MemberFunction]<void*, global::System.Guid*, void**, int> )__vtable[6]); { bool __invokeSucceeded = default; ppvObject = default; void* __ppvObject_native = default; int __invokeRetVal = default; try { // Pin - Pin data in preparation for calling the P/Invoke. fixed (global::System.Guid* __riid_native = &riid) { __invokeRetVal = __target(__this, __riid_native, &__ppvObject_native); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. global::System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(__invokeRetVal, new([33, 29, 116, 19, 235, 135, 206, 17, 128, 129, 0, 128, 199, 88, 82, 126]), (global::System.IntPtr)__this); global::System.GC.KeepAlive(this); __invokeSucceeded = true; // Unmarshal - Convert native data to managed data. ppvObject = global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<object>.ConvertToManaged(__ppvObject_native); } finally { if (__invokeSucceeded) { // CleanupCalleeAllocated - Perform cleanup of callee allocated resources. global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<object>.Free(__ppvObject_native); } } } } [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })] internal static int ABI_GetDistributedTransactionManager(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, global::System.Guid* __riid_native__param, void** __ppvObject_native__param) { global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager @this = default; ref global::System.Guid __riid_native = ref *__riid_native__param; global::System.Guid riid = default; ref void* __ppvObject_native = ref *__ppvObject_native__param; object ppvObject = default; int __retVal = default; try { // Unmarshal - Convert native data to managed data. riid = __riid_native; @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::System.Transactions.DtcProxyShim.DtcInterfaces.IResourceManager>(__this_native); @this.GetDistributedTransactionManager(in riid, out ppvObject); // 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. __ppvObject_native = (void*)global::System.Runtime.InteropServices.Marshalling.ComInterfaceMarshaller<object>.ConvertToUnmanaged(ppvObject); } 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 IResourceManager { } } |