DirectX SDK

DirectPlayLobbyConnection.GetAddress

The DirectPlayLobbyConnection.GetAddress method retrieves a DirectPlay address that provides access to the information that the service provider needs to connect to a session.

object.GetAddress() As DirectPlayAddress

Parameters

object
Object expression that resolves to a DirectPlayLobbyConnection object.

Return Values

The method returns a DirectPlayAddress object.

Error Codes

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