DirectX SDK |
The DirectPlayEnumPlayers.GetType method ascertains whether an enumerated item is a player or group.
object.GetType(index As Long) As Long
The method returns the type of the enumerated item, either DPPLAYERTYPE_GROUP or DPPLAYERTYPE_PLAYER (from the CONST_DPPLAYERTYPEFLAGS enumeration).
If the method fails, an error is raised and Err.Number will be set.