Platform SDK: DirectX |
The DirectPlay4.GetPlayerFriendlyName method retrieves the friendly name associated with a player.
object.GetPlayerFriendlyName(playerId As Long) As String
If it succeeds, the method returns the friendly name of the player.
If the method fails, an error is raised and Err.Number may be set to one of the following values:
DPERR_INVALIDOBJECT |
DPERR_INVALIDPLAYER |
DirectPlay4.CreatePlayer, DirectPlay4.GetPlayerFormalName, DirectPlay4.SetPlayerName