IDirectPlay::DeletePlayerFromGroup

HRESULT DeletePlayerFromGroup(DPID pidGroup,

DPID pidPlayer);

Removes a player from a group.

·Returns DP_OK if successful, or one of the following error messages otherwise:

DPERR_INVALIDOBJECT DPERR_INVALIDPLAYER

pidGroup

Player ID of the group to be adjusted.

pidPlayer

ID of the player to be removed from the group.

A DPMSG_GROUPDELETE system message is automatically generated to inform the other players of this change.