DXGIGetDebugInterface1 function (dxgi1_3.h)
Retrieves an interface that Windows Store apps use for debugging the Microsoft DirectX Graphics Infrastructure (DXGI).
Syntax
HRESULT DXGIGetDebugInterface1(
UINT Flags,
REFIID riid,
[out] void **pDebug
);
Parameters
Flags
Not used.
riid
The globally unique identifier (GUID) of the requested interface type, which can be the identifier for the IDXGIDebug, IDXGIDebug1, or IDXGIInfoQueue interfaces.
[out] pDebug
A pointer to a buffer that receives a pointer to the debugging interface.
Return value
If this function succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The DXGIGetDebugInterface1 function returns E_NOINTERFACE on systems without the Windows Software Development Kit (SDK) installed, because it's a development-time aid.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 [desktop apps only] |
Minimum supported server | Windows Server 2012 R2 [desktop apps only] |
Target Platform | Windows |
Header | dxgi1_3.h |
Library | DXGI.lib |
DLL | Dxgi.dll |