DirectX SDK

DirectPlay4.SetGroupConnectionSettings

The DirectPlay4.SetGroupConnectionSettings method sets the connection settings for a session that will be launched from this group. This method can only be used in a lobby session.

object.SetGroupConnectionSettings(id As Long, _
    connection As DirectPlayLobbyConnection) 

Parameters

object
Object expression that resolves to a DirectPlay4 object.
id
ID of the group to set the connection settings on.
connection
DirectPlayLobbyConnection object providing access to a description of the application to be launched, the service provider to be used, and the description of the session to be created.

Error Codes

If the method fails, an error is raised and Err.Number may be set to one of the following values:

DPERR_ACCESSDENIED
DPERR_CONNECTIONLOST
DPERR_INVALIDGROUP
DPERR_INVALIDPARAMS
DPERR_UNSUPPORTED

See Also

DirectPlayLobby3.RunApplication