|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
IMAPIFormAdviseSink : 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.
Enables form servers to receive notifications from form viewers.
Form advise sink objects
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.