Retrieves a debugging interface.
HRESULT DXGIGetDebugInterface(
REFIID riid,
void **ppDebug
)
riid
Type: REFIID
The globally unique identifier (GUID) of the requested interface type.
ppDebug
Type: void **
A pointer to a buffer that receives a pointer to the debugging interface.
Type: HRESULT
Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR.
IDXGIDebug and IDXGIInfoQueue are debugging interfaces.
To access DXGIGetDebugInterface, call the GetModuleHandle function to get Dxgidebug.dll and the GetProcAddress function to get the address of DXGIGetDebugInterface.
Header: Declared in dxgidebug.h.
Library: Use d3d11.lib.