Microsoft DirectX 8.0 (Visual Basic)

DirectPlay8Server.GetCountClientsAndGroups

Retrieves the number of clients or groups for the session.

GetCountClientsAndGroups( _
    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