Share via


IMAPIAdviseSink (Compact 7)

3/12/2014

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

See Also

Reference

MAPI Interfaces