title | description | manager | ms.date | ms.audience | ms.topic | ms.service | ms.localizationpriority | api_name | api_type | ms.assetid | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|
IMAPISession IUnknown |
Describes the properties and vtable order of members for IMAPISessionIUnknown, which manages objects associated with a MAPI logon session. |
lindalu |
03/09/2015 |
Developer |
reference |
office-online-server |
medium |
|
|
5650fa2a-6e62-451c-964e-363f7bee2344 |
Applies to: Outlook 2013 | Outlook 2016
Manages objects associated with a MAPI logon session.
Property | Value |
---|---|
Header file: |
Mapix.h |
Exposed by: |
Session objects |
Implemented by: |
MAPI |
Called by: |
Client applications and MAPI |
Interface identifier: |
IID_IMAPISession |
Pointer type: |
LPMAPISESSION |
Member | Description |
---|---|
GetLastError |
Returns a MAPIERROR structure that contains information about the previous session error. |
GetMsgStoresTable |
Provides access to the message store table that contains information about all the message stores in the session profile. |
OpenMsgStore |
Opens a message store and returns an IMsgStore pointer for further access. |
OpenAddressBook |
Opens the MAPI integrated address book, returning an IAddrBook pointer for further access. |
OpenProfileSection |
Opens a section of the current profile and returns an IProfSect pointer for further access. |
GetStatusTable |
Provides access to the status table, a table that contains information about all the MAPI resources in the session. |
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 that affect the session. |
Unadvise |
Cancels the sending of notifications previously set up with a call to the Advise method. |
MessageOptions |
Not supported or documented. |
QueryDefaultMessageOpt |
Not supported or documented. |
EnumAdrTypes |
Deprecated. Returns the address types that can be handled by all of the transport providers in the session. |
QueryIdentity |
Returns the entry identifier of the object that provides the primary identity for the session. |
Logoff |
Ends a MAPI session. |
SetDefaultStore |
Establishes a message store as the default message store for the session. |
AdminServices |
Returns an IMsgServiceAdmin pointer for making changes to message services. |
ShowForm |
Displays a form. |
PrepareForm |
Creates a numeric token that the ShowForm method uses to access a message. |