DirectPlay Animated Header -- DPMSG_SETPLAYERORGROUPDATA DirectPlay Animated Header -- DPMSG_SETPLAYERORGROUPDATA* Microsoft DirectPlay SDK
*Index  *Topic Contents
*Previous Topic: DPMSG_SESSIONLOST
*Next Topic: DPMSG_SETPLAYERORGROUPNAME


DPMSG_SETPLAYERORGROUPDATA


Contains information for the DPSYS_SETPLAYERORGROUPDATA system message. DirectPlay generates this message and sends it to each player when the remote data of a player or group changes. This message will not be generated if the DPSESSION_ NODATAMESSAGES flag is specified in the session description.

typedef struct {
    DWORD  dwType;
    DWORD  dwPlayerType;
    DPID   dpId;
    LPVOID lpData;
    DWORD  dwDataSize;
} DPMSG_SETPLAYERORGROUPDATA, FAR *LPDPMSG_SETPLAYERORGROUPDATA;
Members
dwType
Identifies the message. This member is always DPSYS_SETPLAYERORGROUPDATA.
dwPlayerType
Identifies whether the message applies to a player (DPPLAYERTYPE_PLAYER) or a group (DPPLAYERTYPE_GROUP).
dpId
ID of the player or group whose data changed.
lpData
Pointer to an application-specific block of data.
dwDataSize
Size of the data contained in the buffer referenced by lpData.
Remarks

It is not necessary for the application to save the data from this message because it can be retrieved at any time using IDirectPlay3::GetPlayerData or IDirectPlay3::GetGroupData.

See Also

IDirectPlay3::GetPlayerData, IDirectPlay3::GetGroupData, IDirectPlay3::SetPlayerData, IDirectPlay3::SetGroupData

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

*Top of Page