Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Peer.GetSendQueueInfo

Used by the application to monitor the size of the send queue. Microsoft® DirectPlay® does not send messages faster than the receiving computer can process them. As a result, if the sending computer is sending faster than the receiver can receive, messages accumulate in the sender's queue. If the application registers that the send queue is growing too large, it should decrease the rate that messages are sent.

GetSendQueueInfo(lNumMsgs As Long, lNumBytes As Long)

Parts

lNumMsgs
Number of messages currently queued.
lNumBytes
Amount of data, in bytes, of the messages currently queued.

Error Codes

If the method fails, Err.Number can be set to the following value.

DPNERR_INVALIDPARAM