Important:
This is retired content. 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 content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

The IMAPIAdviseSinkinterface is used to implement an Advise Sink object for handling notifications.

To register for notification, a pointer to an Advise Sink object is passed in a call to a service provider's IMAPISession::Advisemethod.

Methods in Vtable Order

IMAPIAdviseSink method Description

IMAPIAdviseSink::OnNotify

Responds to a notification by performing one or more tasks, which depend on the object generating the notification and type of event.

Remarks

IMAPIAdviseSinkis called by service providers, is exposed by advise sink objects, and is implemented by client applications.

The interface identifier for IMAPIAdviseSinkis IID_IMAPIAdviseSink, and the pointer type is LPMAPIADVISESINK

Requirements

Header mapidefs.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