##

DPCHAT

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

    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 (IDirectPlay3).
lpszMessageA
  Pointer to an ANSI string containing the message to be sent. Can only be used with an ANSI interface (IDirectPlay3A).

##### See Also

IDirectPlay3::SendChatMessage

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