ID3D11InfoQueue::SetBreakOnCategory method (d3d11sdklayers.h)

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

Syntax

HRESULT SetBreakOnCategory(
  [in] D3D11_MESSAGE_CATEGORY Category,
  [in] BOOL                   bEnable
);

Parameters

[in] Category

Type: D3D11_MESSAGE_CATEGORY

Message category to break on (see D3D11_MESSAGE_CATEGORY).

[in] bEnable

Type: BOOL

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

Requirement Value
Target Platform Windows
Header d3d11sdklayers.h
Library D3D11.lib

See also

ID3D11InfoQueue Interface