Microsoft DirectX 8.1 (C++)

DPN_MSGID_ADD_PLAYER_TO_GROUP

Microsoft® DirectPlay® generates the DPN_MSGID_ADD_PLAYER_TO_GROUP message when a player has been added to a group in a peer-to-peer or client/server session.

DPNMSG_ADD_PLAYER_TO_GROUP

The DPNMSG_ADD_PLAYER_TO_GROUP structure contains information for the DPN_MSGID_ADD_PLAYER_TO_GROUP system message.

typedef struct _DPNMSG_ADD_PLAYER_TO_GROUP{
    DWORD  dwSize;
    DPNID  dpnidGroup;
    PVOID  pvGroupContext;
    DPNID  dpnidPlayer;
    PVOID  pvPlayerContext;
} DPNMSG_ADD_PLAYER_TO_GROUP, *PDPNMSG_ADD_PLAYER_TO_GROUP;
dwSize
Size of this structure.
dpnidGroup
DPNID of the group to add the player.
pvGroupContext
Group context value.
dpnidPlayer
DPNID of the player added to the group.
pvPlayerContext
Player context value.

Return Values

Return DPN_OK.

Requirements

  Windows NT/2000/XP: Available as a redistributable for Windows 2000 and later.
  Windows 98/Me: Available as a redistributable for Windows 98 and later.
  Header: Declared in Dplay8.h.