DPCHAT

Contains a DirectPlay chat message. Chat messages are sent with the IDirectPlay4::SendChatMessage method.

Syntax

typedef struct {
    DWORD	dwSize;
    DWORD	dwFlags;
    union{
      LPWSTR lpszMessage;
      LPSTR  lpszMessageA;
    };
} DPCHAT, FAR *LPDPCHAT;

Members

dwSize
The size of the DPCHAT structure, dwsize = sizeof(DPCHAT).
dwFlags
Not used. Must be 0.
lpszMessage
Pointer to a Unicode string containing the message to be sent. Can only be used with a Unicode interface (IDirectPlay4).
lpszMessageA
Pointer to an ANSI string containing the message to be sent. Can only be used with an ANSI interface (IDirectPlay4A).

See Also

IDirectPlay4::SendChatMessage



© 1998 Microsoft Corporation. All rights reserved. Terms of Use.