|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
IMAPISession : IUnknown
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.
Manages objects associated with a MAPI logon session.
Client applications and MAPI
Returns a MAPIERROR structure that contains information about the previous session error.
Provides access to the message store table that contains information about all the message stores in the session profile.
Opens a message store and returns an IMsgStore pointer for further access.
Opens the MAPI integrated address book, returning an IAddrBook pointer for further access.
Opens a section of the current profile and returns an IProfSect pointer for further access.
Provides access to the status table, a table that contains information about all the MAPI resources in the session.
Opens an object and returns an interface pointer for further access.
Compares two entry identifiers to determine whether they refer to the same object.
Registers to receive notification of specified events that affect the session.
Cancels the sending of notifications previously set up with a call to the Advise method.
Displays a dialog box that contains option properties for a particular address type and message.
Retrieves the message option properties for a particular address type.
Deprecated. Returns the address types that can be handled by all of the transport providers in the session.
Returns the entry identifier of the object that provides the primary identity for the session.
Ends a MAPI session.
Establishes a message store as the default message store for the session.
Returns an IMsgServiceAdmin pointer for making changes to message services.
Displays a form.
Creates a numeric token that the ShowForm method uses to access a message.