Platform SDK: DirectX

DirectPlayEnumPlayers.GetDPID

The DirectPlayEnumPlayers.GetDPID method retrieves the numerical identifier of an enumerated player or group.

object.GetDPID(index As Long) As Long 

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 unique identifier assigned when the player or group was created.

Error Codes

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