Share via


IMAPIAdviseSink

4/8/2010

The IMAPIAdviseSink interface 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::Advise method.

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

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

The interface identifier for IMAPIAdviseSink is 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