Contains information for the DPSYS_DESTROYPLAYERORGROUP system message. DirectPlay generates this message and sends it to each player when a player or group is destroyed in a session.
typedef struct{
DWORD dwType;
DWORD dwPlayerType;
DPID dpId;
LPVOID lpLocalData;
DWORD dwLocalDataSize;
LPVOID lpRemoteData;
DWORD dwRemoteDataSize;
DPNAME dpnName;
DPID dpIdParent;
DWORD dwFlags;
} DPMSG_DESTROYPLAYERORGROUP, FAR *LPDPMSG_DESTROYPLAYERORGROUP;
Members
Identifies the message. This member is DPSYS_DESTROYPLAYERORGROUP.
Identifies whether the message applies to a player (DPPLAYERTYPE_PLAYER) or group (DPPLAYERTYPE_GROUP).
ID of a player or group that has been destroyed.
Pointer to the local data associated with this player/group.
Size, in bytes, of the local data.
Pointer to the remote data associated with this player/group.
Size, in bytes, of the remote data.
Structure containing the name of the player/group.
The ID of the parent group if the group being destroyed is a subgroup of the parent group (the group being destroyed was created by a call to IDirectPlay3::CreateGroupInGroup; otherwise, the value is 0.
The player or group flags.
Remarks
The DirectPlay 5 version of this structure has three members added to the end, dpnName, dpIdParent and dwFlags.
See Also