ID3D12InfoQueue::SetMessageCountLimit method

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

Syntax

HRESULT SetMessageCountLimit(
  UINT64 MessageCountLimit
);

Parameters

MessageCountLimit

Type: UINT64

Maximum number of messages that can be added to the message queue. -1 means no limit.

When the number of messages in the message queue has reached the maximum limit, new messages coming in will push old messages out.

Return Value

Type: HRESULT

This method returns one of the Direct3D 12 Return Codes.

Requirements

   
Target Platform Windows
Header d3d12sdklayers.h

See Also

ID3D12InfoQueue