|
// <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, int, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData*, int, int*, int> GetTieredVersions_3;
}
file unsafe sealed class InterfaceInformation : global::System.Runtime.InteropServices.Marshalling.IIUnknownInterfaceType
{
public static global::System.Guid Iid { get; } = new([190, 106, 125, 18, 134, 108, 72, 78, 142, 123, 34, 7, 129, 197, 129, 1]);
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.ISOSDacInterface5
{
[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.GetTieredVersions_3 = &ABI_GetTieredVersions;
}
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.Interop.ComInterfaceGenerator", "11.0.14.22804")]
[global::System.Runtime.CompilerServices.SkipLocalsInitAttribute]
int global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface5.GetTieredVersions(global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress methodDesc, int rejitId, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData[] nativeCodeAddrs, int cNativeCodeAddrs, int* pcNativeCodeAddrs)
{
var(__this, __vtable) = ((global::System.Runtime.InteropServices.Marshalling.IUnmanagedVirtualMethodTableProvider)this).GetVirtualMethodTableInfoForKey(typeof(global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface5));
var __target = ((delegate* unmanaged[MemberFunction]<void*, ulong, int, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData*, int, int*, int> )__vtable[3]);
{
ulong __methodDesc_native;
int __retVal;
// Marshal - Convert managed data to native data.
__methodDesc_native = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToUnmanaged(methodDesc);
// Pin - Pin data in preparation for calling the P/Invoke.
fixed (void* __nativeCodeAddrs_native = &global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData>.ManagedToUnmanagedIn.GetPinnableReference(nativeCodeAddrs))
{
__retVal = __target(__this, __methodDesc_native, rejitId, (global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData*)__nativeCodeAddrs_native, cNativeCodeAddrs, pcNativeCodeAddrs);
}
// NotifyForSuccessfulInvoke - Keep alive any managed objects that need to stay alive across the call.
global::System.GC.KeepAlive(this);
return __retVal;
}
}
[global::System.Runtime.InteropServices.UnmanagedCallersOnlyAttribute(CallConvs = new[] { typeof(global::System.Runtime.CompilerServices.CallConvMemberFunction) })]
internal static int ABI_GetTieredVersions(global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch* __this_native, ulong __methodDesc_native, int rejitId, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData* __nativeCodeAddrs_native, int cNativeCodeAddrs, int* pcNativeCodeAddrs)
{
global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface5 @this = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddress methodDesc = default;
global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData[] nativeCodeAddrs = default;
int __retVal = default;
// Setup - Perform required setup.
int __nativeCodeAddrs_native__numElements;
__nativeCodeAddrs_native__numElements = default;
try
{
// Unmarshal - Convert native data to managed data.
__nativeCodeAddrs_native__numElements = cNativeCodeAddrs;
nativeCodeAddrs = global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData>.AllocateContainerForManagedElements(__nativeCodeAddrs_native, __nativeCodeAddrs_native__numElements);
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData>.GetUnmanagedValuesSource(__nativeCodeAddrs_native, __nativeCodeAddrs_native__numElements).CopyTo(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData>.GetManagedValuesDestination(nativeCodeAddrs));
methodDesc = global::Microsoft.Diagnostics.DataContractReader.Legacy.ClrDataAddressMarshaller.ConvertToManaged(__methodDesc_native);
@this = global::System.Runtime.InteropServices.ComWrappers.ComInterfaceDispatch.GetInstance<global::Microsoft.Diagnostics.DataContractReader.Legacy.ISOSDacInterface5>(__this_native);
__retVal = @this.GetTieredVersions(methodDesc, rejitId, nativeCodeAddrs, cNativeCodeAddrs, pcNativeCodeAddrs);
// Marshal - Convert managed data to native data.
global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData>.GetManagedValuesDestination(nativeCodeAddrs).CopyTo(global::System.Runtime.InteropServices.MemoryMarshal.CreateSpan(ref global::System.Runtime.InteropServices.MemoryMarshal.GetReference(global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData>.GetUnmanagedValuesSource(__nativeCodeAddrs_native, __nativeCodeAddrs_native__numElements)), global::System.Runtime.InteropServices.Marshalling.ArrayMarshaller<global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData, global::Microsoft.Diagnostics.DataContractReader.Legacy.DacpTieredVersionData>.GetUnmanagedValuesSource(__nativeCodeAddrs_native, __nativeCodeAddrs_native__numElements).Length));
}
catch (global::System.Exception __exception)
{
__retVal = global::System.Runtime.InteropServices.Marshalling.ExceptionAsHResultMarshaller<int>.ConvertToUnmanaged(__exception);
}
return __retVal;
}
}
namespace Microsoft.Diagnostics.DataContractReader.Legacy
{
[global::System.Runtime.InteropServices.Marshalling.IUnknownDerivedAttribute<InterfaceInformation, InterfaceImplementation>]
public unsafe partial interface ISOSDacInterface5
{
}
}
|