DirectX SDK |
The DirectPlaySessionData.GetMaxPlayers method retrieves the greatest number of players allowed to join the session.
object.GetMaxPlayers() As Long
The method returns the maximum number of players, or 0 if there is no maximum.
If the method fails, an error is raised and Err.Number will be set.