SetBreakOnCategory

IDXGIInfoQueue::SetBreakOnCategory method

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

Syntax


HRESULT SetBreakOnCategory(
  [in] DXGI_DEBUG_ID                    Producer,
  [in] DXGI_INFO_QUEUE_MESSAGE_CATEGORY Category,
  [in] BOOL                             bEnable
);

Parameters

Producer [in]

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

Category [in]

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

bEnable [in]

A Boolean value that specifies whether SetBreakOnCategory 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

Minimum supported client

Windows 8 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2012 [desktop apps | Windows Store apps]

Minimum supported phone

Windows Phone 8

Header

DXGIDebug.h

DLL

DXGIDebug.dll

See also

IDXGIInfoQueue

 

 

Show:
© 2016 Microsoft