DXGIGetDebugInterface function (dxgidebug.h)

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.

Note  This API requires the Windows Software Development Kit (SDK) for Windows 8.
 

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 [desktop apps | UWP apps]
Target Platform Windows
Header dxgidebug.h
DLL Dxgidebug.dll

See also

DXGI Functions

IDXGIDebug