Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMAPISession

Windows Mobile 6.5
4/8/2010

The IMAPISession interface is used to manage objects associated with a MAPI session. In Windows Mobile MAPI, this interface is used indirectly through ICEMAPISession.

IMAPISession methods Description

IMAPISession::GetLastError

Not supported — do not use.

IMAPISession::GetMsgStoresTable

Provides access to the message store table, which contains information about all of the message stores in the session profile.

IMAPISession::OpenMsgStore

Opens a message store and returns an IMsgStore interface pointer for further access.

IMAPISession::OpenAddressBook

Not supported — do not use.

IMAPISession::OpenProfileSection

Not supported — do not use.

IMAPISession::GetStatusTable

Not supported — do not use.

IMAPISession::OpenEntry

Opens an IMsgStore object, an IFolder object, or an IMessage object, and returns a pointer that can be used to access the object.

IMAPISession::CompareEntryIDs

Compares two entry identifiers to determine whether they refer to the same object.

IMAPISession::Advise

Registers to receive notifications of specified events affecting the session.

IMAPISession::Unadvise

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

IMAPISession::MessageOptions

Not supported — do not use.

IMAPISession::QueryDefaultMessageOpt

Not supported — do not use.

IMAPISession::EnumAdrTypes

Not supported — do not use.

IMAPISession::QueryIdentity

Not supported — do not use.

IMAPISession::Logoff

Ends the MAPI session.

IMAPISession::SetDefaultStore

Not supported — do not use.

IMAPISession::AdminServices

Not supported — do not use.

IMAPISession::ShowForm

Not supported — do not use.

IMAPISession::PrepareForm

Not supported — do not use.

The ICEMAPISession interface inherits IMAPISession.

Windows Mobile MAPI sessions are managed through the ICEMAPISession interface rather than through the IMAPISession interface.

The IMAPISession interface identifier is IID_IMAPISession and its pointer type is LPMAPISESSION.

Headermapix.h
Librarycemapi.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2002 and later, Smartphone 2002 and later

Community Additions

Show:
© 2015 Microsoft