Message Store Table

The message store table contains information about message store providers in the current profile. There is one message store table for every MAPI session, implemented by MAPI and used by clients. Clients can use this table, for example, to locate all instances of a particular provider or to locate a specific message store.

The message store table is dynamic. If the user of a client application edits the profile, changing the default message store, for example, the values of the PR_DEFAULT_STORE properties for the affected message stores are immediately updated.

Clients access the message store table by calling the IMAPISession::GetMsgStoresTable method.

The following properties make up the required column set in the message store table:

PR_DEFAULT_STORE PR_DISPLAY_NAME
PR_ENTRYID PR_INSTANCE_KEY
PR_MDB_PROVIDER PR_OBJECT_TYPE
PR_PROVIDER_DISPLAY PR_RECORD_KEY
PR_RESOURCE_FLAGS PR_RESOURCE_TYPE