DirectX SDK

DirectPlayLobbyConnection.SetPlayerShortName

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

object.SetPlayerShortName(name As String) 

Parameters

object
Object expression that resolves to a DirectPlayLobbyConnection object.
name
Friendly 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.SetPlayerLongName