IDXGIInfoQueue::SetBreakOnSeverity method

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

Syntax


HRESULT SetBreakOnSeverity(
  [in]  DXGI_DEBUG_ID Producer,
  [in]  DXGI_INFO_QUEUE_MESSAGE_SEVERITY Severity,
  [in]  BOOL bEnable
);

Parameters

Producer [in]

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

Severity [in]

A DXGI_INFO_QUEUE_MESSAGE_SEVERITY-typed value that specifies the severity of the message.

bEnable [in]

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

Windows Phone 8: This API is supported.

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]

Header

DXGIDebug.h

DLL

DXGIDebug.dll

See also

IDXGIInfoQueue

 

 

Community Additions

ADD
Show:
© 2014 Microsoft