$#K SNetGetNumPlayers

Returns the number of active players in the game, and the range of active player IDs.  The range of IDs may be larger than the number of active players if players have dropped out of the game.

BOOL SNetGetNumPlayers (
	DWORD		*firstplayerid,
	DWORD		*lastplayerid,
	DWORD		*activeplayers
};

Parameters

firstplayerid
The lowest numbered ID of any active player.

lastplayerid
The highest numbered ID of any active player.

activeplayers
The total number of active players.

Return Value

This function returns TRUE for success or FALSE for failure.  The function can fail if:
•	No network provider has been initialized
•	No game has been created or joined