DirectX SDK |
The DPMSG_STARTSESSION message structure 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.
typedef struct { DWORD dwType; LPDPLCONNECTION lpConn; } DPMSG_STARTSESSION, FAR *LPDPMSG_STARTSESSION;
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.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dplay.h.
IDirectPlay4::StartSession, IDirectPlayLobby3::RunApplication, IDirectPlayLobby3::SetConnectionSettings, IDirectPlayLobby3::Connect