The IMsgStore interface 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, MAPI |
Interface identifier: | IID_IMsgStore |
Pointer type: | LPMDB |
Transaction model: | Nontransacted |
Advise | Registers to receive notification of specified events affecting 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 if they refer to the same entry within 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 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 with information about all of the messages in the message store's outgoing queue. This method is called only by the MAPI spooler. | |
SetLockState | Locks or unlocks a message. This method is called only by the MAPI spooler. | |
FinishedMsg | Enables the message store provider to perform processing on a sent message. This method is called only by the MAPI spooler. | |
NotifyNewMail | Informs the message store that a new message has arrived. This method is called only by the MAPI spooler. | |
Required properties | Access level | |
---|---|---|
PR_DISPLAY_NAME | Read/write | |
PR_ENTRYID | Read-only | |
PR_OBJECT_TYPE | Read-only | |
PR_RECORD_KEY | Read-only | |
PR_STORE_ENTRYID | Read-only | |
PR_STORE_RECORD_KEY | Read-only | |
PR_MDB_PROVIDER | Read-only | |
PR_STORE_SUPPORT_MASK | Read-only |