Export (0) Print
Expand All

IMSLogon : IUnknown

Last modified: July 23, 2011

Applies to: Outlook

Accesses resources in a message store logon object.

Header file:

Mapispi.h

Exposed by:

Message store logon objects

Implemented by:

Message store providers

Called by:

MAPI

Interface identifier:

IID_IMSLogon

Pointer type:

LPMSLOGON

GetLastError

Returns a MAPIERROR structure that contains information about the last error that occurred for the message store object.

Logoff

Logs off a message store provider.

OpenEntry

Opens a folder or message object and returns a pointer to the object to provide further access.

CompareEntryIDs

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

Advise

Registers an object with a message store provider for notifications about changes in the message store.

Unadvise

Removes an object's registration for notification of message store changes previously established by using a call to the IMSLogon::Advise method.

OpenStatusEntry

Opens a status object.

The message store logon object is the part of an open message store provider that MAPI calls directly. There is a one-to-one correspondence between the message store logon object that MAPI calls and the message store object that client applications call; you can think of the logon and store objects as one object that exposes two interfaces. The two objects are created together and freed together.

Show:
© 2014 Microsoft