Compartilhar via


MESSAGEFIELDS

4/8/2010

The MESSAGEFIELDS structure describes the fields of a new message to be composed.

Syntax

struct {
  LPCWSTR pszwTo;
  LPCWSTR pszwCc;
  LPCWSTR pszwBcc;
  LPCWSTR pszwSubject;
  LPCWSTR pszwBody;
  DWORD flags;
} MESSAGEFIELDS;

Members

  • pszwTo
    Rfc822 compliant "To" address(es).
  • pszwCc
    Rfc822 compliant "Cc" address(es).
  • pszwBcc
    Rfc822 compliant "Bcc" address(es).
  • pszwSubject
    Subject field for the new message.
  • pszwBody
    Body field for the new message.
  • flags
    One of the following enumeration values.

    Enumerator Value Description

    MESSAGEFIELDS_FLAGS_DELETEONCLOSE

    0x00000001

    Delete the message permanently if the user cancels.

    MESSAGEFIELDS_FLAGS_SMSSERVICE

    0x00000002

    A Short Message Service (SMS) message.

Requirements

Header cemapi.h
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Reference

IFormProviderEx::CreateComposeForm
IMessageFormHostEx::DoAction
MAPI Structures

Other Resources

Messaging