DirectX SDK |
The DirectPlay4.GetPlayerFormalName method retrieves the formal name associated with a player.
object.GetPlayerFormalName(playerId As Long) As String
If it succeeds, the method returns the formal 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.GetPlayerFriendlyName, DirectPlay4.SetPlayerName