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 zero, so you must retrieve the value of idFromPlayer in the DPMSG_CHAT structure.
IDirectPlay3::SendChatMessage, DPCHAT, IDirectPlay3::Receive
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.