Contains the information needed to connect an application to a session.
typedef struct {
DWORD dwSize;
DWORD dwFlags;
LPDPSESSIONDESC2 lpSessionDesc;
LPDPNAME lpPlayerName;
GUID guidSP;
LPVOID lpAddress;
DWORD dwAddressSize;
} DPLCONNECTION, FAR *LPDPLCONNECTION;
Members
The size of the DPLCONNECTION structure, dwsize = sizeof(DPLCONNECTION). Your application must set this member before it uses this structure; otherwise, an error will result. Examine this member to determine if the fields added in DirectPlay version 5 are available.
Indicates how to open a session.
Create a new session as described in the session description.
Join the existing session as described in the session description.
Pointer to a DPSESSIONDESC2 structure describing the session to be created or the session to join.
Pointer to a DPNAME structure holding the name 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.
Pointer to a DirectPlay Address that contains the information that the service provider needs to connect to a session. For more information about the DirectPlay Address, see DirectPlay Address. For a list of Microsoft predefined address data types, see DirectPlay Address Data Types.
Size, in bytes, of the address data.
See Also
IDirectPlayLobby2::RunApplication, IDirectPlayLobby2::GetConnectionSettings, IDirectPlayLobby2::SetConnectionSettings