?/TD>
Microsoft DirectX 9.0

DPN_MSGID_ADD_PLAYER_TO_GROUP Message


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.

The DPNMSG_ADD_PLAYER_TO_GROUP structure contains information for the DPN_MSGID_ADD_PLAYER_TO_GROUP system message.

Syntax

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;

Members

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.

Remarks

Return from the message callback function with DPN_OK.

Message Information

Headerdplay8.h
Minimum operating systems Windows 98, Pocket PC 2002


© 2002 Microsoft Corporation. All rights reserved.