DPMSG_ADDPLAYER

typedef struct{

DWORD dwType;

DWORD dwPlayerType;

DPID dpId;

char szLongName[DPLONGNAMELEN];

char szShortName[DPSHORTNAMELEN];

DWORD dwCurrentPlayers;

} DPMSG_ADDPLAYER;

Contains information for the DPSYS_ADDPLAYER system message. The system sends this message when players and groups are added to a session.

dwType

Identifier for the message.

dwPlayerType

Indicates whether a player or a group was added. TRUE indicates a player was added; FALSE indicates a group was added.

dpId

ID for a player or group.

szLongName

Formal name for player or group.

szShortName

Friendly name for player or group.

dwCurrentPlayers

Number of players in the session.