Platform SDK: DirectX |
The DPMSG_CHAT structure contains information for the DPSYS_CHAT system message. The system message is generated for a local player receiving a chat message from another player.
typedef struct{ DWORD dwType; DWORD dwFlags; DPID idFromPlayer; DPID idToPlayer; DPID idToGroup; LPDPCHAT lpChat; } DPMSG_CHAT, FAR *LPDPMSG_CHAT;
Use the idFromPlayer value to determine who sent the message. The value of lpidFrom available through Receive will always be 0, so you must retrieve the value of idFromPlayer in the DPMSG_CHAT structure.
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::SendChatMessage, DPCHAT, IDirectPlay4::Receive