DXGIGetDebugInterface function
Retrieves a debugging interface.
Syntax
HRESULT DXGIGetDebugInterface(
REFIID riid,
void **ppDebug
);
Parameters
- riid
-
The globally unique identifier (GUID) of the requested interface type.
- ppDebug
-
A pointer to a buffer that receives a pointer to the debugging interface.
Return value
Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR.
Remarks
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.
Windows 8.1: Starting in Windows 8.1, Windows Store apps call the DXGIGetDebugInterface1 function to get an IDXGIDebug1 interface.
Requirements
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Minimum supported phone |
Windows Phone 8 |
|
Header |
|
|
DLL |
|
See also