Platform SDK: DirectX |
The DPMSG_SETPLAYERORGROUPNAME structure contains information for the DPSYS_SETPLAYERORGROUPNAME system message. DirectPlay generates this message and sends it to each local player on the computer when the name of a player or group changes. This message will not be generated if the DPSESSION_NODATAMESSAGES flag is specified in the session description.
typedef struct { DWORD dwType; DWORD dwPlayerType; DPID dpId; DPNAME dpnName; } DPMSG_SETPLAYERORGROUPNAME, FAR *LPDPMSG_SETPLAYERORGROUPNAME;
It is not necessary for the application to save the dpnName from this message because it can be retrieved at any time using IDirectPlay4::GetPlayerName or IDirectPlay4::GetGroupName.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Requires Windows 95 or later. Available as a redistributable for Windows 95.
Header: Declared in dplay.h.
IDirectPlay4::GetPlayerName, IDirectPlay4::GetGroupName, IDirectPlay4::SetPlayerName, IDirectPlay4::SetGroupName