Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
[in] Producer
A DXGI_DEBUG_ID value that identifies the entity that sets the breaking condition.
[in] Category
A DXGI_INFO_QUEUE_MESSAGE_CATEGORY-typed value that specifies the category of the message.
[in] bEnable
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
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 |