| File: _generated\49\Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface15.cs | Web Access |
| Project: src\runtime\src\native\managed\cdac\Microsoft.Diagnostics.DataContractReader.Legacy\Microsoft.Diagnostics.DataContractReader.Legacy.csproj (Microsoft.Diagnostics.DataContractReader.Legacy) |
// <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*, ulong, void**, int> GetMethodTableSlotEnumerator_3; } file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType { public static global::System.Guid Iid { get; } = new([97, 18, 216, 126, 169, 82, 35, 74, 163, 88, 195, 49, 61, 234, 48, 168]); public static void** ManagedVirtualMethodTable => (void**)global::System.Runtime.CompilerServices.Unsafe.AsPointer(in InterfaceImplementation.Vtable); } [global::System.Runtime.InteropServices.DynamicInterfaceCastableImplementationAttribute] file unsafe interface InterfaceImplementation : global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface15 { [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.GetMethodTableSlotEnumerator_3 = &ABI_GetMethodTableSlotEnumerator; } [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.36018")] [global::System.Runtime.CompilerServices.SkipLocalsInitAttribute] int global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface15.GetMethodTableSlotEnumerator(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSMethodEnum> enumerator) { var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface15)); var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, void**, int> )__vtable[3]); { ulong __mt_native = default; void** __enumerator_native = default; int __retVal = default; // Setup - Perform required setup. global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSMethodEnum>.ManagedToUnmanaged __enumerator_native__marshaller = new(); try { // Marshal - Convert managed data to native data. __enumerator_native__marshaller.FromManaged(enumerator); __mt_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(mt); { // PinnedMarshal - Convert managed data to native data that requires the managed data to be pinned. __enumerator_native = __enumerator_native__marshaller.ToUnmanaged(); __retVal = __target(__this, __mt_native, __enumerator_native); } // NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call. __enumerator_native__marshaller.OnInvoked(); global::System.GC.KeepAlive(this); } finally { // CleanupCallerAllocated - Perform cleanup of caller allocated resources. __enumerator_native__marshaller.Free(); } return __retVal; } } [global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })] internal static int ABI_GetMethodTableSlotEnumerator(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __mt_native, void** __enumerator_native) { global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface15 @this = default; global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress mt = default; global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRef<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSMethodEnum> enumerator = default; int __retVal = default; // Setup - Perform required setup. global::Microsoft.Diagnostics.DataContractReader.Legacy.DacComNullableByRefMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSMethodEnum>.UnmanagedToManaged __enumerator_native__marshaller = new(); try { // UnmarshalCapture - Capture the native data into marshaller instances in case conversion to managed data throws an exception. __enumerator_native__marshaller.FromUnmanaged(__enumerator_native); // Unmarshal - Convert native data to managed data. enumerator = __enumerator_native__marshaller.ToManaged(); mt = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__mt_native); @this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface15>(__this_native); __retVal = @this.GetMethodTableSlotEnumerator(mt, enumerator); } catch (global::System.Exception __exception) { __retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception); } finally { // CleanupCallerAllocated - Perform cleanup of caller allocated resources. __enumerator_native__marshaller.Free(); } return __retVal; } } namespace Microsoft.Diagnostics.DataContractReader.Legacy { [global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>] public unsafe partial interface ISOSDacInterface15 { } }