Platform SDK: DirectX |
The DirectPlaySessionData.GetCurrentPlayers method retrieves the current number of players in the session.
object.GetCurrentPlayers() As Long
The method returns the current number of players.
If the method fails, an error is raised and Err.Number will be set.