IDXGIInfoQueue::SetBreakOnCategory Method

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

Syntax

public:
HRESULT SetBreakOnCategory(
         DXGI_DEBUG_ID Producer,
         DXGI_INFO_QUEUE_MESSAGE_CATEGORY Category,
         BOOL bEnable
)  

Parameters

Producer
Type: DXGI_DEBUG_ID 

[in] A DXGI_DEBUG_ID value that identifies the entity that sets the breaking condition.

Category
Type: DXGI_INFO_QUEUE_MESSAGE_CATEGORY 

[in] A DXGI_INFO_QUEUE_MESSAGE_CATEGORY-typed value that specifies the category of the message.

bEnable
Type: BOOL 

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

Return value

Type: HRESULT 

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

Requirements

Header: Declared in dxgidebug.h.

Library: Use d3d11.lib.

See also

IDXGIInfoQueue

IDXGIInfoQueue Members