DirectX SDK

CONST_DPOPENFLAGS

Members of the CONST_DOPENFLAGS enumeration are used in the DirectPlay4.Open and DirectPlay4.SecureOpen methods to specify how the session is to be opened.

Enum CONST_DOPENFLAGS
    DPOPEN_CREATE =         2 
    DPOPEN_JOIN =           1 
    DPOPEN_RETURNSTATUS = 128 (&H80)
End Enum
DPOPEN_CREATE
Create a new instance of an application session. The local computer will be the name server and host of the session.
DPOPEN_JOIN
Join an existing instance of an application session for the purpose of participating. The application will be able to create players and send and receive messages. Cannot be combined with DPOPEN_CREATE.
DPOPEN_RETURNSTATUS
If this flag is specified, the method will not display any dialog boxes showing the connection progress status. If the connection cannot be made immediately, the method will return with the DPERR_CONNECTING error. The application must keep calling the method until it succeeds or some other error code is returned.