DirectPlay Animated Header -- DPMSG_ADDPLAYERTOGROUP DirectPlay Animated Header -- DPMSG_ADDPLAYERTOGROUP* Microsoft DirectPlay SDK
*Index  *Topic Contents
*Previous Topic: DPMSG_ADDGROUPTOGROUP
*Next Topic: DPMSG_CHAT


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

© 1998 Microsoft Corporation. All rights reserved. Terms of Use.

*Top of Page