Microsoft DirectX 9.0 SDK Update (Summer 2003) |
DPN_MSGID_CREATE_PLAYER Message
Microsoft® DirectPlay® generates the DPN_MSGID_CREATE_PLAYER message when a player is added to a peer-to-peer or client/server session.
The DPNMSG_CREATE_PLAYER structure contains information for the DPN_MSGID_CREATE_PLAYER system message.
Syntax
typedef struct _DPNMSG_CREATE_PLAYER { DWORD dwSize; DPNID dpnidPlayer; PVOID pvPlayerContext; } DPNMSG_CREATE_PLAYER, *PDPNMSG_CREATE_PLAYER;
Members
- dwSize
- Size of this structure.
- dpnidPlayer
- DPNID of the player that was added to the session.
- pvPlayerContext
- Player context value.
Remarks
Return from the message callback function with DPN_OK.
The only method of setting the player context value is through this message. You can either set the player context value directly, through this message, or indirectly through DPN_MSGID_INDICATE_CONNECT. Once a player context value has been set, it cannot be changed.
Message Information
Header dplay8.h Minimum operating systems Windows 98, Pocket PC 2002