ID3D11InfoQueue::SetMessageCountLimit method (d3d11sdklayers.h)
Set the maximum number of messages that can be added to the message queue.
Syntax
HRESULT SetMessageCountLimit(
[in] UINT64 MessageCountLimit
);
Parameters
[in] MessageCountLimit
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 11 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
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11sdklayers.h |
Library | D3D11.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for