Microsoft DirectX 8.1 (Visual Basic)

CONST_DPNCANCELFLAGS

Used in the lFlags parameter of the DirectPlay8Client.CancelAsyncOperation, DirectPlay8Server.CancelAsyncOperation and DirectPlay8Peer.CancelAsyncOperation methods to specify which type of asynchronous operation to cancel.

Enum CONST_DPNCANCELFLAGS
    DPNCANCEL_ALL_OPERATIONS = 32768 (&H8000)
    DPNCANCEL_CONNECT = 1
    DPNCANCEL_ENUM = 2
    DPNCANCEL_SEND = 4
End Enum

Constants

DPNCANCEL_ALL_OPERATIONS
Cancel all asynchronous requests.
DPNCANCEL_CONNECT
Cancel an asynchronous Connect request.
DPNCANCEL_ENUM
Cancel all asynchronous EnumHosts requests. A single EnumHosts request can be canceled by specifying the handle returned from the EnumHosts method.
DPNCANCEL_SEND
Cancel an asynchronous Send request.