// ------------------------------------------------------------------------------
//
// 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.Direct3D12;
///
/// ID3D12InfoQueue1
[Guid("2852dd88-b484-4c0c-b6b1-67168500e600")]
[NativeTypeName("struct ID3D12InfoQueue1 : ID3D12InfoQueue")]
[NativeInheritance("ID3D12InfoQueue")]
public unsafe partial struct ID3D12InfoQueue1
{
public static ref readonly Guid IID_ID3D12InfoQueue1
{
[MethodImpl(MethodImplOptions.AggressiveInlining)]
get
{
ReadOnlySpan data = new byte[] {
0x88, 0xDD, 0x52, 0x28,
0x84, 0xB4,
0x0C, 0x4C,
0xB6,
0xB1,
0x67,
0x16,
0x85,
0x00,
0xE6,
0x00
};
Debug.Assert(data.Length == Unsafe.SizeOf());
return ref Unsafe.As(ref MemoryMarshal.GetReference(data));
}
}
public static Guid* NativeGuid => (Guid*)Unsafe.AsPointer(ref Unsafe.AsRef(in IID_ID3D12InfoQueue1));
public void** lpVtbl;
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(0)]
public HResult QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[0]))((IUnknown*)Unsafe.AsPointer(ref this), riid, ppvObject);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(1)]
[return: NativeTypeName("ULONG")]
public uint AddRef()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[1]))((IUnknown*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(2)]
[return: NativeTypeName("ULONG")]
public uint Release()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[2]))((IUnknown*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(3)]
public HResult SetMessageCountLimit(ulong MessageCountLimit)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[3]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), MessageCountLimit);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(4)]
public void ClearStoredMessages()
{
((delegate* unmanaged[Stdcall])(lpVtbl[4]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(5)]
public HResult GetMessage(ulong MessageIndex, Message* pMessage, nuint* pMessageByteLength)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[5]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), MessageIndex, pMessage, pMessageByteLength);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(6)]
public ulong GetNumMessagesAllowedByStorageFilter()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[6]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(7)]
public ulong GetNumMessagesDeniedByStorageFilter()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[7]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(8)]
public ulong GetNumStoredMessages()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[8]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(9)]
public ulong GetNumStoredMessagesAllowedByRetrievalFilter()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[9]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(10)]
public ulong GetNumMessagesDiscardedByMessageCountLimit()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[10]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(11)]
public ulong GetMessageCountLimit()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[11]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(12)]
public HResult AddStorageFilterEntries(InfoQueueFilter* pFilter)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[12]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(13)]
public HResult GetStorageFilter(InfoQueueFilter* pFilter, nuint* pFilterByteLength)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[13]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(14)]
public void ClearStorageFilter()
{
((delegate* unmanaged[Stdcall])(lpVtbl[14]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(15)]
public HResult PushEmptyStorageFilter()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[15]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(16)]
public HResult PushCopyOfStorageFilter()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[16]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(17)]
public HResult PushStorageFilter(InfoQueueFilter* pFilter)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[17]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(18)]
public void PopStorageFilter()
{
((delegate* unmanaged[Stdcall])(lpVtbl[18]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(19)]
public uint GetStorageFilterStackSize()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[19]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(20)]
public HResult AddRetrievalFilterEntries(InfoQueueFilter* pFilter)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[20]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(21)]
public HResult GetRetrievalFilter(InfoQueueFilter* pFilter, nuint* pFilterByteLength)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[21]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter, pFilterByteLength);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(22)]
public void ClearRetrievalFilter()
{
((delegate* unmanaged[Stdcall])(lpVtbl[22]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(23)]
public HResult PushEmptyRetrievalFilter()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[23]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(24)]
public HResult PushCopyOfRetrievalFilter()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[24]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(25)]
public HResult PushRetrievalFilter(InfoQueueFilter* pFilter)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[25]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), pFilter);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(26)]
public void PopRetrievalFilter()
{
((delegate* unmanaged[Stdcall])(lpVtbl[26]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(27)]
public uint GetRetrievalFilterStackSize()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[27]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(28)]
public HResult AddMessage(MessageCategory Category, MessageSeverity Severity, MessageId ID, sbyte* pDescription)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[28]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category, Severity, ID, pDescription);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(29)]
public HResult AddApplicationMessage(MessageSeverity Severity, sbyte* pDescription)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[29]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity, pDescription);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(30)]
public HResult SetBreakOnCategory(MessageCategory Category, Bool32 bEnable)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[30]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category, bEnable);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(31)]
public HResult SetBreakOnSeverity(MessageSeverity Severity, Bool32 bEnable)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[31]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity, bEnable);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(32)]
public HResult SetBreakOnID(MessageId ID, Bool32 bEnable)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[32]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), ID, bEnable);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(33)]
public Bool32 GetBreakOnCategory(MessageCategory Category)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[33]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Category);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(34)]
public Bool32 GetBreakOnSeverity(MessageSeverity Severity)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[34]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), Severity);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(35)]
public Bool32 GetBreakOnID(MessageId ID)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[35]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), ID);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(36)]
public void SetMuteDebugOutput(Bool32 bMute)
{
((delegate* unmanaged[Stdcall])(lpVtbl[36]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), bMute);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(37)]
public Bool32 GetMuteDebugOutput()
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[37]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this));
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(38)]
public HResult RegisterMessageCallback(delegate* unmanaged[Stdcall] CallbackFunc, MessageCallbackFlags CallbackFilterFlags, void* pContext, uint* pCallbackCookie)
{
return ((delegate* unmanaged[Stdcall], MessageCallbackFlags, void*, uint*, int>)(lpVtbl[38]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), CallbackFunc, CallbackFilterFlags, pContext, pCallbackCookie);
}
///
[MethodImpl(MethodImplOptions.AggressiveInlining)]
[VtblIndex(39)]
public HResult UnregisterMessageCallback(uint CallbackCookie)
{
return ((delegate* unmanaged[Stdcall])(lpVtbl[39]))((ID3D12InfoQueue1*)Unsafe.AsPointer(ref this), CallbackCookie);
}
}