Sets the maximum number of messages that can be added to the message queue.
public:
HRESULT SetMessageCountLimit(
DXGI_DEBUG_ID Producer,
UINT64 MessageCountLimit
)
Producer
Type: DXGI_DEBUG_ID
[in] A DXGI_DEBUG_ID value that identifies the entity that sets the limit on the number of messages.
MessageCountLimit
Type: UINT64
[in] The maximum number of messages that can be added to the queue. –1 means no limit.
Type: HRESULT
Returns S_OK if successful; an error code otherwise. For a list of error codes, see DXGI_ERROR.
Header: Declared in dxgidebug.h.
Library: Use d3d11.lib.