ID3D11InfoQueue::SetBreakOnCategory Method

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

Syntax

public:
HRESULT SetBreakOnCategory(
         D3D11_MESSAGE_CATEGORY Category,
         BOOL bEnable
)  

Parameters

Category
Type: D3D11_MESSAGE_CATEGORY 

[in] Message category to break on (see D3D11_MESSAGE_CATEGORY).

bEnable
Type: BOOL 

[in] Turns this breaking condition on or off (true for on, false for off).

Return value

Type: HRESULT 

This method returns one of the following Direct3D 11 return codes.

Requirements

Header: Declared in d3d11sdklayers.h.

Library: Use d3d11.lib.

See also

ID3D11InfoQueue

ID3D11InfoQueue Members