Microsoft DirectX 9.0

Monitoring the Pending Message Queues

You should monitor your pending message queues to ensure that they do not become too large. The IDirectPlay8Peer, IDirectPlay8Client, and IDirectPlay8Server interfaces all expose a GetSendQueueInfo method that can be used to check the number of messages and the number of bytes currently in the queue. By default, the method returns the total for all three queues, but you can also obtain values for each of the three priority levels.

© 2002 Microsoft Corporation. All rights reserved.