Share via


IMAPIViewContext : IUnknown

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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