typedef struct {
DWORD dwSize;
DWORD dwFlags;
LPDPSESSIONDESC2 lpSessionDesc;
LPDPNAME lpPlayerName;
GUID guidSP;
LPVOID lpAddress;
DWORD dwAddressSize;
} DPLCONNECTION, *LPDPLCONNECTION;
Contains the information needed to connect an application to a session.
Indicates the size, in bytes, of this structure. Your application must set this member before it uses this structure; otherwise, an error will result.
Indicates how the connection should be made.
Create a new session as described in the session description.
Join the existing session as described in the session description.
Address of a DPSESSIONDESC2 structure describing the session to be created or the session to join.
Address of a DPNAME structure with the name that the player should be created with. This will be the name of the person registered in the lobby. The application can ignore this name.
Globally unique identifier (GUID) of the service provider to use to connect to the session.
Address of a DirectPlay Address that contains the information that the service provider needs to connect to a session.
Size, in bytes, of the address data.