Skip to main content
DXGIGetDebugInterface1 function

Retrieves an interface that Windows Store apps use for debugging the Microsoft DirectX Graphics Infrastructure (DXGI).

Syntax


HRESULT WINAPI DXGIGetDebugInterface1(
  UINT Flags,
  REFIID riid,
  _Out_  void **ppOut
);

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.

ppOut [out]

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

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Header

Dxgi1_3.h

Library

DXGI.lib

DLL

Dxgi.dll

See also

IDXGIDebug1