IMAPIViewContext : IUnknown

Applies to: Outlook 2013 | Outlook 2016

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

Property Value
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

Member Description
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

MAPI Interfaces