Share via


PR_MSG_STATUS

The PR_MSG_STATUS property contains a bitmask of property tags that define the status of a message.

Additional Information

May be exposed by: Message objects
Identifier: 0x0E17
Property type: PT_LONG
Property tag: 0x0E170003

Remarks

The methods IMAPIProp::GetProps and IMAPIProp::SetProps are used to get and set message status information. IMAPIProp::GetProps returns the DWORD parameter lppPropArray, which contains a bitmask composed of a combination of zero or more property tags combined with the logical OR (|). LppPropArray's HIWORD contains a bitmask composed by combining property tags defined in the header file cemapi.h, while the LOWORD contains a bitmask composed by combining property tags defined in the header file mapidefs.h. For a list of all the property tags, see the tables below.

Contained in cemapi.h

 

Property Tag Value Description
MSGSTATUS_RECTYPE_SMTP 0x00020000 For quick recognition of the SMTP message recipient type.
MSGSTATUS_RECTYPE_SMS 0x00040000 For quick recognition of the SMS message recipient type.
MSGSTATUS_RECTYPE_ALLTYPES 0x00060000 To determine if a transport still needs to send the message. This is equivalent to combining MSGSTATUS_RECTYPE_SMTP | MSGSTATUS_RECTYPE_SMS.
MSGSTATUS_SMSSTATUS_SUCCESS 0x00020000 Re-use the above flags for incoming SMS status messages which are mutually exclusive from outgoing messages.
MSGSTATUS_HEADERONLY 0x00010000 This flag should be set when only the header has been downloaded.
MSGSTATUS_PARTIAL_DOWNLOAD 0x00080000 This flag is set when the item should only be partially downloaded.
MSGSTATUS_PARTIAL 0x00100000 This flag is set when the item is only partially downloaded.
MSGSTATUS_REMOTE_DOWNLOAD_ATTACH 0x00200000 This flag is set when the message has at least one attachment marked for downloaded.
MSGSTATUS_REMOTE_DOWNLOAD_HEADER 0x00400000 This flag is set when the MIME header needs to be downloaded.
MSGSTATUS_HAS_TNEF 0x00800000 This flag is set when the message has a TNEF blob attached.
MSGSTATUS_REMOTE_DOWNLOAD_TNEF 0x01000000 This flag is set when the TNEF of a message needs to be downloaded.
MSGSTATUS_GHOSTED_ATTACH 0x02000000 This flag is set when the attachment has a copy on the server.
MSGSTATUS_PENDING_ATTACHMENTS 0x04000000 This flag is set when the message still has attachments that have not yet been downloaded.
MSGSTATUS_HAS_PR_CE_MIME_TEXT 0x08000000 This flag is set when the message has the PR_CE_MIME_TEXT property.
MSGSTATUS_HAS_PR_BODY 0x10000000 This flag is set when the message has the PR_BODY property.

 

Contained in mapidefs.h

 

Property Tag Value Description
MSGSTATUS_HIGHLIGHTED (ULONG) 0x00000001 Not used.
MSGSTATUS_TAGGED (ULONG) 0x00000002 Set to indicate the message is being moved, not deleted.
MSGSTATUS_HIDDEN (ULONG) 0x00000004 Not used.
MSGSTATUS_DELMARKED (ULONG) 0x00000008 Not used.
MSGSTATUS_REMOTE_DOWNLOAD (ULONG) 0x00001000 Set to indicate the message is marked for download.
MSGSTATUS_REMOTE_DELETE (ULONG) 0x00002000 Bits for remote message status.

 

Requirements

Pocket PC: Pocket PC 2002 and later
OS Versions: Windows CE 3.0 and later
Header: cemapi.h, mapidefs.h
Library: cemapi.lib

See Also

IMAPIProp::GetProps

IMAPIProp::SetProps

Send feedback on this topic to the authors.

© 2005 Microsoft Corporation. All rights reserved.