typedef struct {
DWORD dwType;
DWORD dwPlayerType;
DPID dpId;
DPNAME dpnName;
} DPMSG_SETPLAYERORGROUPNAME, *LPDPMSG_SETPLAYERORGROUPNAME;
Contains information for the DPSYS_SETPLAYERORGROUPNAME system message.
Identifies the message. This member is always DPSYS_SETPLAYERORGROUPNAME.
Identifies whether the message applies to a player (DPPLAYERTYPE_PLAYER) or a group (DPPLAYERTYPE_GROUP).
ID of the player or group whose name changed.
Structure containing the new name information for the player or group.
The system sends this message when the name of a player or group has changed. It is not necessary for the application to save the data from this message; it can be retrieved at any time by using the IDirectPlay2::GetGroupName or IDirectPlay2::GetPlayerName method. This message will not be generated if the DPSESSION_NODATAMESSAGES flag is specified in the session description.