DirectPlayLobby3.SetConnectionSettings
The DirectPlayLobby3.SetConnectionSettings method modifies the information needed to start and connect an application.
object.SetConnectionSettings(applicationId As Long, _
connection As DirectPlayLobbyConnection)
Parameters
- object
- Object expression that resolves to a DirectPlayLobby3 object.
- applicationId
- When called from a lobby client (communicating with several applications), this parameter identifies which application's connection settings to set. This ID is obtained by using the DirectPlayLobby3.RunApplication method. When called from an application (communicating with only one lobby client), this parameter must be 0.
- connection
- DirectPlayLobbyConnection object that provides access to 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.
Error Codes
If the method fails, an error is raised and Err.Number may be set to one of the following values:
See Also
DirectPlayLobby3.GetConnectionSettings