Index Topic Contents | |||
Previous Topic: DPMSG_DELETEPLAYERFROMGROUP Next Topic: DPMSG_GENERIC |
DPMSG_DESTROYPLAYERORGROUP
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
- dwType
- Identifies the message. This member is DPSYS_DESTROYPLAYERORGROUP.
- dwPlayerType
- Identifies whether the message applies to a player (DPPLAYERTYPE_PLAYER) or group (DPPLAYERTYPE_GROUP).
- dpId
- ID of a player or group that has been destroyed.
- lpLocalData
- Pointer to the local data associated with this player/group.
- dwLocalDataSize
- Size, in bytes, of the local data.
- lpRemoteData
- Pointer to the remote data associated with this player/group.
- dwRemoteDataSize
- Size, in bytes, of the remote data.
- dpnName
- Structure containing the name of the player/group.
- dpIdParent
- 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.
- dwFlags
- 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
IDirectPlay3::DestroyGroup, IDirectPlay3::DestroyPlayer
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.