Platform SDK: MAPI

PR_VALID_FOLDER_MASK

The PR_VALID_FOLDER_MASK property contains a bitmask of flags that indicate the validity of the entry identifiers of the folders in a message store.

Quick Info

Header file: MAPITAGS.H
Must be exposed by: Message store objects
Identifier: 0x35DF
Property type: PT_LONG
Property tag: 0x35DF0003

Remarks

A folder's entry identifier can become invalid if a user deletes the folder or if the message store becomes corrupted.

One or more of the following flags can be set for the PR_VALID_FOLDER_MASK bitmask:

FOLDER_COMMON_VIEWS_VALID
The common views folder has a valid entry identifier. See PR_COMMON_VIEWS_ENTRYID.
FOLDER_FINDER_VALID
The finder folder has a valid entry identifier. See PR_FINDER_ENTRYID.
FOLDER_IPM_INBOX_VALID
The interpersonal message (IPM) receive folder has a valid entry identifier. See IMsgStore::GetReceiveFolder.
FOLDER_IPM_OUTBOX_VALID
The IPM Outbox folder has a valid entry identifier. See PR_IPM_OUTBOX_ENTRYID.
FOLDER_IPM_SENTMAIL_VALID
The IPM Sent Items folder has a valid entry identifier. See PR_IPM_SENTMAIL_ENTRYID.
FOLDER_IPM_SUBTREE_VALID
The IPM folder subtree has a valid entry identifier. See PR_IPM_SUBTREE_ENTRYID.
FOLDER_IPM_WASTEBASKET_VALID
The IPM Deleted Items folder has a valid entry identifier. See PR_IPM_WASTEBASKET_ENTRYID.
FOLDER_VIEWS_VALID
The views folder has a valid entry identifier. See PR_VIEWS_ENTRYID.

For more information on folder entry identifiers, see Opening a Folder.

See Also

Folder Properties, PR_FOLDER_TYPE