Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Server.GetCountPlayersAndGroups

Retrieves the number of clients or groups for the session.

GetCountPlayersAndGroups( _
    lFlags As CONST_DPNENUMCLIENTGROUPFLAGS) As Long

Parts

lFlags
Flag that describes enumeration behavior. You can set one of the flags from the CONST_DPNENUMCLIENTGROUPFLAGS enumeration.

Error Codes

If the method fails, Err.Number can be set to the following value.

DPNERR_INVALIDFLAGS