// ------------------------------------------------------------------------------ // // This code was generated by a tool. // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // // ------------------------------------------------------------------------------ namespace Win32.Graphics.Direct3D11; /// /// ID3D11FunctionParameterReflection [Guid("42757488-334f-47fe-982e-1a65d08cc462")] public unsafe partial struct ID3D11FunctionParameterReflection : ID3D11FunctionParameterReflection.Interface, INativeGuid { public static ref readonly Guid IID_ID3D11FunctionParameterReflection { [MethodImpl(MethodImplOptions.AggressiveInlining)] get { ReadOnlySpan data = new byte[] { 0x88, 0x74, 0x75, 0x42, 0x4F, 0x33, 0xFE, 0x47, 0x98, 0x2E, 0x1A, 0x65, 0xD0, 0x8C, 0xC4, 0x62 }; Debug.Assert(data.Length == Unsafe.SizeOf()); return ref Unsafe.As(ref MemoryMarshal.GetReference(data)); } } #if NET6_0_OR_GREATER static Guid* INativeGuid.NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionParameterReflection)); #else public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D11FunctionParameterReflection)); #endif public void** lpVtbl; /// [MethodImpl(MethodImplOptions.AggressiveInlining)] [VtblIndex(0)] public HResult GetDesc(ParameterDescription* pDesc) { #if NET6_0_OR_GREATER return ((delegate* unmanaged)(lpVtbl[0]))((ID3D11FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc); #else return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((ID3D11FunctionParameterReflection*)Unsafe.AsPointer(ref this), pDesc); #endif } public interface Interface { [VtblIndex(0)] HResult GetDesc(ParameterDescription* pDesc); } }