Microsoft DirectX 8.1 (Visual Basic)

DirectPlay8Event.AddRemovePlayerGroup

Called by the associated DirectPlay8Peer, DirectPlay8Client, or DirectPlay8Server object when a player or group has been added to or removed from a group.

AddRemovePlayerGroup( _
    lMsgID As Long, _
    lPlayerID As Long, _
    lGroupID As Long, _
    fRejectMsg As Boolean)

Parts

lMsgID
One of the following flags, which indicate whether a player or group has joined or has left the session:
DPN_MSGID_ADD_PLAYER_TO_GROUP
A player has joined the group.
DPN_MSGID_REMOVE_PLAYER_FROM_GROUP
A player has left the group.
lPlayerID
Long value set to the ID of the player or group being added or removed.
lGroupID
Long value set to the ID of the group this player or group is being added to or removed from.
fRejectMsg
Parameter is not supported in this release.