IDXGIInfoQueue::SetMessageCountLimit method

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

Producer [in]

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

MessageCountLimit [in]

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

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: