Platform SDK: DirectX

DirectPlayLobbyConnection.GetPlayerShortName

The DirectPlayLobbyConnection.GetPlayerShortName method retrieves the friendly name of the player. The application can ignore this name.

object.GetPlayerShortName() As String

Parameters

object
Object expression that resolves to a DirectPlayLobbyConnection object.

Return Values

The method returns the friendly name of the player.

Error Codes

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

See Also

DirectPlayLobbyConnection.SetPlayerShortName