Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Peer.GetGroupMember

Retrieves the identifier of the specified member of a group. The number of players in a group is determined by calling DirectPlay8Peer.GetCountGroupMembers.

GetGroupMember(lIndex As Long, dpid As Long) As Long

Parts

lIndex
Index value of the player in a group.
dpid
Long value that specifies the identification of the group.

Return Values

Returns a Long value that specifies the identification of the player.

Error Codes

If the method fails, Err.Number can be set to one of the following values.

DPNERR_INVALIDGROUP
DPNERR_INVALIDPARAM