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 IDirectPlay4::GetPlayerCaps, IDirectPlay4::GetPlayerName, and IDirectPlay4::GetPlayerData for information about the player involved int his message, or IDirectPlay4::GetGroupName and IDirectPlay4::GetGroupData to get more information about the group involved in this message.

Syntax

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

IDirectPlay4::AddPlayerToGroup


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