Share via


IMAPISession

Send Feedback

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

Methods in Vtable Order

IMAPISession methods Description
GetLastError Not supported — do not use.
GetMsgStoresTable Provides access to the message store table, which contains information about all of the message stores in the session profile.
OpenMsgStore Opens a message store and returns an IMsgStore pointer for further access.
OpenAddressBook Not supported — do not use.
OpenProfileSection Not supported — do not use.
GetStatusTable Not supported — do not use.
OpenEntry Opens an object and returns an interface pointer for further access.
CompareEntryIDs Compares two entry identifiers to determine whether they refer to the same object.
Advise Registers to receive notification of specified events affecting the session.
Unadvise Cancels the sending of notifications previously set up with a call to the IMAPISession::Advise method.
MessageOptions Not supported — do not use.
QueryDefaultMessageOpt Not supported — do not use.
EnumAdrTypes Not supported — do not use.
QueryIdentity Not supported — do not use.
Logoff Ends a MAPI session.
SetDefaultStore Not supported — do not use.
AdminServices Not supported — do not use.
ShowForm Not supported — do not use.
PrepareForm Not supported — do not use.

Remarks

The ICEMAPISession interface inherits IMAPISession. Windows Mobile-based MAPI sessions are managed through the ICEMAPISession interface, rather than through IMAPISession. The IMAPISession interface identifier is IID_IMAPISession and its pointer type is LPMAPISESSION.

Requirements

Pocket PC: Pocket PC 2002 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: mapix.h
Library: cemapi.lib

See Also

MAPI Interfaces | Messaging

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.