Share via


MESSAGEFIELDS

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

Syntax

typedef struct _MESSAGEFIELDS {
  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:

    MESSAGEFIELDS_FLAGS_DELETEONCLOSE

    Delete the message permanently if the user cancels.

    MESSAGEFIELDS_FLAGS_SMSSERVICE

    An SMS message.

Requirements

Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cemapi.h

See Also

IFormProvider::ComposeMessageForm

IMessageFormHostEx::DoAction

MAPI Structures

Messaging

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.