共用方式為


IMAPIViewAdviseSink : IUnknown

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Receives notifications from forms.

Header file:

Mapiform.h

Exposed by:

View advise sink objects

Implemented by:

Form viewers

Called by:

Form objects

Interface identifier:

IID_IMAPIViewAdviseSink

Pointer type:

LPMAPIVIEWADVISESINK

Vtable Order

OnShutdown

Notifies the form viewer that a form is being closed.

OnNewMessage

Notifies the form viewer that either a new or an existing message has been loaded in a form.

OnPrint

Notifies the form viewer of the printing status of a form.

OnSubmitted

Notifies the form viewer that the current message has been submitted to MAPI spooler.

OnSaved

Notifies the form viewer that the current message in a form has been saved.

See Also

Concepts

MAPI Interfaces