SetMessageCountLimit

ID3D10InfoQueue::SetMessageCountLimit method

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

Syntax


HRESULT SetMessageCountLimit(
  [in] UINT64 MessageCountLimit
);

Parameters

MessageCountLimit [in]

Type: UINT64

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

Return value

Type: HRESULT

This method returns one of the following Direct3D 10 Return Codes.

Remarks

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

Requirements

Header

D3D10SDKLayers.h

See also

ID3D10InfoQueue Interface

 

 

Show:
© 2016 Microsoft