DirectX SDK |
The DirectPlayLobby3.GetConnectionSettings method retrieves the DirectPlayLobbyConnection object that contains all the information needed to start and connect an application. The data returned is the same data that was passed to the DirectPlayLobby3.RunApplication method by the lobby client, or set by calling the DirectPlayLobby3.SetConnectionSettings method.
object.GetConnectionSettings(applicationId As Long) _ As DirectPlayLobbyConnection
If the method succeeds, it returns a DirectPlayLobbyConnection object.
If the method fails, an error is raised and Err.Number may be set to one of the following values:
DPERR_BUFFERTOOSMALL |
DPERR_GENERIC |
DPERR_INVALIDINTERFACE |
DPERR_INVALIDOBJECT |
DPERR_INVALIDPARAMS |
DPERR_NOTLOBBIED |
DPERR_OUTOFMEMORY |