DirectX SDK |
The DirectPlayEnumPlayers.GetCount method retrieves the number of entries in the enumeration object.
object.GetCount() As Long
The method returns the number of entries in the enumeration object.
If the method fails, an error is raised and Err.Number will be set.