DPMSG_STARTSESSION
Contains information for the DPSYS_STARTSESSION system message. The lobby server sends this message to each player in a group when it is time for that player to join an application session.
Syntax
typedef struct { DWORD dwType; LPDPLCONNECTION lpConn; } DPMSG_STARTSESSION, FAR *LPDPMSG_STARTSESSION;Members
- dwType
- Identifies the message. This member is always DPSYS_STARTSESSION.
- lpConn
- Pointer to a DPLCONNECTION structure that contains all the information needed to launch an application into a session. This structure can be passed into IDirectPlayLobby3::RunApplication (if an external application is to be launched) or passed into IDirectPlayLobby3::SetConnectionSettings and then followed by a call to IDirectPlayLobby3::Connect (to connect the current application to the session).
Remarks
Upon receipt of this message by a stand-alone lobby client, the client must launch the application by calling the IDirectPlayLobby3::RunApplication method with the DPLCONNECTION structure.
Upon receipt of this message by an application with an internal lobby, the application must set the connection settings by calling IDirectPlayLobby3::SetConnectionSettings and then connect to the session using the IDirectPlayLobby3::Connect method.
See Also
IDirectPlay4::StartSession, IDirectPlayLobby3::RunApplication, IDirectPlayLobby3::SetConnectionSettings, IDirectPlayLobby3::Connect
Top of Page
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.