Platform SDK: DirectX

DPMSG_DELETEPLAYERFROMGROUP

The DPMSG_DELETEPLAYERFROMGROUP structure contains information for the DPSYS_DELETEPLAYERFROMGROUP system message. DirectPlay generates this message and sends it to each local player on the computer when a player is deleted from a group.

For a description of the structure members, see the DPMSG_ADDPLAYERTOGROUP structure.

The application can use IDirectPlay4::GetPlayerCaps, IDirectPlay4::GetPlayerName, and IDirectPlay4::GetPlayerData for information about the player involved in this message, or IDirectPlay4::GetGroupName and IDirectPlay4::GetGroupData to get more information about the group involved in this message.

typedef struct{
    DWORD dwType;
    DPID  dpIdGroup;
    DPID  dpIdPlayer;
} DPMSG_ADDPLAYERTOGROUP, FAR *LPDPMSG_ADDPLAYERTOGROUP;
typedef DPMSG_ADDPLAYERTOGROUP DPMSG_DELETEPLAYERFROMGROUP;
dwType
Identifies the message. This member is DPSYS_DELETEPLAYERFROMGROUP.
dpIdGroup
ID of the group from which the player was removed.
dpIdPlayer
ID of the player that was removed from the group.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
  Header: Declared in dplay.h.

See Also

IDirectPlay4::DeletePlayerFromGroup