DirectX SDK

DirectPlayLobbyConnection.SetSessionDesc

The DirectPlayLobbyConnection.SetSessionDesc method sets the description of the session to be created or the session to join.

object.SetSessionDesc(sessionDesc As DirectPlaySessionData)

Parameters

object
Object expression that resolves to a DirectPlayLobbyConnection object.
sessionDesc
DirectPlaySessionData object describing the session. This object is obtained by using the DirectPlay4.CreateSessionData method.

Error Codes

If the method fails, an error is raised and Err.Number will be set.