DirectX SDK

DirectPlayLobbyConnection.SetPlayerLongName

The DirectPlayLobbyConnection.SetPlayerLongName method sets the formal name the player should be created with. This will be the formal name of the person registered in the lobby. The application can ignore this name.

object.SetPlayerLongName(name As String)

Parameters

object
Object expression that resolves to a DirectPlayLobbyConnection object.
name
The formal name of the player to be set.

Error Codes

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

See Also

DirectPlayLobbyConnection.SetPlayerShortName