Platform SDK: DirectX |
The DirectPlay4.CancelPriority method cancels all messages of a particular priority or range of priorities that are still in the send queue. CancelPriority applies only to asynchronous messages.
Messages that have left the message queue and are partially sent cannot be canceled. A message sent to a group cannot be canceled after it has been sent to at least one member of the group.
object.CancelPriority(minPriority As Long, _ maxPriority As Long)
If the method fails, an error is raised and Err.Number may be set to one of the following values:
DPERR_INVALIDFLAGS |
DPERR_INVALIDPARAMS |
DirectPlay4.SendEx, DirectPlay4.Send, DirectPlay4.CancelMessage