Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

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

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

DXGIDebug.h

DLL

Dxgidebug.dll

See also

DXGI Functions
IDXGIDebug

 

 

Show:
© 2016 Microsoft