LazyMAPI

MAPI Properties

MAPI Property: PR_VALID_FOLDER_MASK
Description: Contains a bitmask of flags that indicate the validity of the entry identifiers of the folders in a message store.
Property ID: $35DF
Property type: PT_LONG
Area: MAPI message store

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 bitmask:
FOLDER_COMMON_VIEWS_VALID - The common views folder has a valid entry identifier. See PR_COMMON_VIEWS_ENTRYID (PidTagCommonViewsEntryId).
FOLDER_FINDER_VALID - The finder folder has a valid entry identifier. See PR_FINDER_ENTRYID (PidTagFinderEntryId).
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 (PidTagIpmOutboxEntryId).
FOLDER_IPM_SENTMAIL_VALID - The IPM Sent Items folder has a valid entry identifier. See PR_IPM_SENTMAIL_ENTRYID (PidTagIpmSentMailEntryId).
FOLDER_IPM_SUBTREE_VALID - The IPM folder subtree has a valid entry identifier. See PR_IPM_SUBTREE_ENTRYID (PidTagIpmSubtreeEntryId).
FOLDER_IPM_WASTEBASKET_VALID - The IPM Deleted Items folder has a valid entry identifier. See PR_IPM_WASTEBASKET_ENTRYID (PidTagIpmWastebasketEntryId).
FOLDER_VIEWS_VALID - The views folder has a valid entry identifier. See PR_VIEWS_ENTRYID (PidTagViewsEntryId).