Share via


IMAPIViewContext : 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.

Manages a form in a client application's form viewer.

Header file:

Mapiform.h

Exposed by:

View context objects

Implemented by:

Form viewers

Called by:

Form objects

Interface identifier:

IID_IMAPIViewContext

Pointer type:

LPMAPIVIEWCONTEXT

Vtable Order

SetAdviseSink

Manages a form's registration to receive notifications about changes in the viewer.

ActivateNext

Activates the next or previous message in the form viewer.

GetPrintSetup

Retrieves current printing information.

GetSaveStream

Retrieves a stream to be used for saving the current message.

GetViewStatus

Retrieves the current viewer status.

GetLastError

Returns a MAPIERROR structure that contains information about the previous error occurring in the view context object.

See Also

Concepts

MAPI Interfaces