IDXGIInfoQueue::SetBreakOnID method (dxgidebug.h)

Sets a message identifier to break on when a message with that identifier passes through the storage filter.

Syntax

HRESULT SetBreakOnID(
  [in] DXGI_DEBUG_ID              Producer,
  [in] DXGI_INFO_QUEUE_MESSAGE_ID ID,
  [in] BOOL                       bEnable
);

Parameters

[in] Producer

A DXGI_DEBUG_ID value that identifies the entity that sets the breaking condition.

[in] ID

An integer value that specifies the identifier of the message.

[in] bEnable

A Boolean value that specifies whether SetBreakOnID turns on or off this breaking condition (TRUE for on, FALSE for off).

Return value

Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR.

Remarks

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

IDXGIInfoQueue