Microsoft DirectX 9.0 SDK Update (Summer 2003) |
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.