IDirectPlayLobby::SetConnectionSettings
HRESULT SetConnectionSettings(DWORD dwFlags,
DWORD dwAppID, LPDPLCONNECTION lpConn);
Modifies the DPLCONNECTION structure, which contains all the information needed to start and connect an application.
·Returns DP_OK if successful, or one of the following error values otherwise:
dwFlags
Reserved; must be zero.
dwAppID
When called from a lobby client (that communicates with several applications), this parameter identifies which application's connection settings to retrieve. When called from an application (that communicates with only one lobby client), this parameter must be zero. This ID is obtained by using the IDirectPlayLobby::RunApplication method.
lpConn
Address of a DPLCONNECTION structure that contains all the information necessary to specify which application to start and how to get it connected to a session instance without displaying any user dialog boxes.