Share via


IMAPISession

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.

Methods in Vtable Order

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.

Remarks

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.

Requirements

Header mapix.h
Library cemapi.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2002 and later, Smartphone 2002 and later

See Also

Other Resources

MAPI Interfaces
Messaging