Platform SDK: DirectX

DirectPlayLobbyConnection.SetGuidSP

The DirectPlayLobbyConnection.SetGuidSP method sets the globally unique identifier (GUID) of the service provider to use to connect to the session.

object.SetGuidSP(guid As String) 

Parameters

object
Object expression that resolves to a DirectPlayLobbyConnection object.
guid
The GUID of the service provider. Can be one of the following string aliases:
DPSPGUID_IPX
DPSPGUID_TCPIP
DPSPGUID_SERIAL
DPSPGUID_MODEM

Error Codes

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

See Also

Using GUIDs