次の方法で共有


IMsgStore : IMAPIProp

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 page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Provides access to message store information and to messages and folders.

Header file:

Mapidefs.h

Exposed by:

Message store object

Implemented by:

Message store providers

Called by:

Client applications, the MAPI spooler, and MAPI

Interface identifier:

IID_IMsgStore

Pointer type:

LPMDB

Transaction model:

Nontransacted

Vtable Order

Advise

Registers to receive notification of specified events that affect the message store.

Unadvise

Cancels the sending of notifications previously set up with a call to the IMsgStore::Advise method.

CompareEntryIDs

Compares two entry identifiers to determine whether they refer to the same entry in a message store.

OpenEntry

Opens a folder or message and returns an interface pointer for further access.

SetReceiveFolder

Establishes a folder as the destination for incoming messages of a particular message class.

GetReceiveFolder

Obtains the folder that was established as the destination for incoming messages of a specified message class or as the default receive folder for the message store.

GetReceiveFolderTable

Provides access to the receive folder table, a table with information about all of the receive folders for the message store.

StoreLogoff

Enables the orderly logoff of the message store.

AbortSubmit

Attempts to remove a message from the outgoing queue.

GetOutgoingQueue

Provides access to the outgoing queue table, a table that has information about all of the messages in the message store's outgoing queue.

SetLockState

Locks or unlocks a message.

FinishedMsg

Enables the message store provider to perform processing on a sent message.

NotifyNewMail

Informs the message store that a new message has arrived.

Required properties

Access level

PR_DISPLAY_NAME (PidTagDisplayName)

Read/write

PR_ENTRYID (PidTagEntryId)

Read-only

PR_OBJECT_TYPE (PidTagObjectType)

Read-only

PR_RECORD_KEY (PidTagRecordKey)

Read-only

PR_STORE_ENTRYID (PidTagStoreEntryId)

Read-only

PR_STORE_RECORD_KEY (PidTagStoreRecordKey)

Read-only

PR_MDB_PROVIDER (PidTagStoreProvider)

Read-only

PR_STORE_SUPPORT_MASK (PidTagStoreSupportMask)

Read-only

The following properties are for interpersonal message (IPM) message stores:

See Also

Concepts

MAPI Properties