Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The MESSAGEFIELDSstructure 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