Platform SDK: DirectX

DirectPlayLobby3.CreateServiceProviderAddress

The DirectPlayLobby3.CreateServiceProviderAddress method creates a DirectPlay address for a service provider.

object.CreateServiceProviderAddress( _
    guid as String) As DirectPlayAddress

Parameters

object
Object expression that resolves to a DirectPlayLobby3 object.
guid
Unique identifier of the service provider.

Return Values

If it succeeds, the method returns a DirectPlayAddress object.

Error Codes

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

DPERR_INVALIDPARAMS

See Also

DirectPlayLobby3.CreateIPXAddress