IDXGIInfoQueue::SetMessageCountLimit method (dxgidebug.h)

Sets the maximum number of messages that can be added to the message queue.

Syntax

HRESULT SetMessageCountLimit(
  [in] DXGI_DEBUG_ID Producer,
  [in] UINT64        MessageCountLimit
);

Parameters

[in] Producer

A DXGI_DEBUG_ID value that identifies the entity that sets the limit on the number of messages.

[in] MessageCountLimit

The maximum number of messages that can be added to the queue. –1 means no limit.

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

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

See also

IDXGIInfoQueue