Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Server.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 at which messages are sent.

GetSendQueueInfo(idPlayer As Long, _
    lNumMsgs As Long, _
    lNumBytes As Long)

Parts

idPlayer
Long value specifying the identifier of the player.
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