Platform SDK: DirectX

DirectPlayEnumPlayers.GetShortName

The DirectPlayEnumPlayers.GetShortName method retrieves the friendly name of a player or group

object.GetShortName(index As Long) As String 

Parameters

object
Object expression that resolves to a DirectPlayEnumPlayers object.
index
Element of the enumeration object for which to retrieve data.

Return Values

The method returns the short or friendly name assigned when the player or group was created.

Error Codes

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