Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IMAPIFormAdviseSink : IUnknown

Enables form servers to receive notifications from form viewers.

Header file:

Mapiform.h

Exposed by:

Form advise sink objects

Implemented by:

Form servers

Called by:

Form viewers

Interface identifier:

IID_IMAPIFormAdviseSink

Pointer type:

LPMAPIFORMADVISESINK

OnChange

Indicates that a change has occurred in the status of the form viewer.

OnActivateNext

Indicates whether the form can handle the message class of the next message to display.

Form servers use a form advise sink object to implement IMAPIFormAdviseSink instead of including it with their form object. Therefore, form viewers should expect a failed call to a form's IUnknown::QueryInterface method to obtain a pointer to this interface.

Form servers call a viewer's IMAPIViewContext::SetAdviseSink method to register for notifications. A pointer to their IMAPIFormAdviseSink implementation is included as a parameter.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.