다음을 통해 공유


IMSLogon : IUnknown

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

Vtable Order

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.

Remarks

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.

See Also

Concepts

MAPI Interfaces