Microsoft DirectX 8.1 (Visual Basic) |
Retrieves the client or group identifier for the specified client or group. The number of clients or groups for the application can be determined by calling DirectPlay8Peer.GetCountPlayersAndGroups.
GetPlayerOrGroup(lIndex As Long) As Long
Returns the identification of the client or group.
If the method fails, Err.Number can be set to one of the following values.
DPNERR_INVALIDOBJECT |
DPNERR_INVALIDPARAM |