DPMSG_ADDPLAYERTOGROUP

Contains information for the DPSYS_ADDPLAYERTOGROUP system message. DirectPlay generates this message and sends it to every player when a player is added to a group.

The application can use IDirectPlay3::GetPlayerCaps, IDirectPlay3::GetPlayerName, and IDirectPlay3::GetPlayerData for information about the player involved int his message, or IDirectPlay3::GetGroupName and IDirectPlay3::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;

Members

dwType

Identifies the message. This member is DPSYS_ADDPLAYERTOGROUP.

dpIdGroup

ID of the group to which the player was added.

dpIdPlayer

ID of the player that was added to the group.

See Also

IDirectPlay3::AddPlayerToGroup