DPMSG_CREATEPLAYERORGROUP

typedef struct{

DWORD dwType;

DWORD dwPlayerType;

DPID dpId;

DWORD dwCurrentPlayers;

LPVOID lpData;

DWORD dwDataSize;

DPNAME dpnName;

} DPMSG_CREATEPLAYERORGROUP, *LPDPMSG_CREATEPLAYERORGROUP;

Contains information for the DPSYS_CREATEPLAYERORGROUP system message. The system sends this message when players and groups are created in a session.

dwType

Identifies the message. This member must be set to DPSYS_CREATEPLAYERORGROUP.

dwPlayerType

Indicates whether the message applies to a player (DPPLAYERTYPE_PLAYER) or a group (DPPLAYERTYPE_GROUP).

dpId

Indicates whether the ID of a player or group has been created.

dwCurrentPlayers

Current number of players and groups in the session including the one that has just been added.

lpData

Address of any application-specific remote data associated with this player or group. If this member is NULL, there is no remote data.

dwDataSize

Size of the data contained in the buffer referenced by lpData.

dpnName

Structure containing the name of the player or group.