IMAPIForm : IUnknown

Applies to: Outlook 2013 | Outlook 2016

Enables form viewers to work with form view contexts and form notification, to perform form verbs, and to shut down forms.

Property Value
Header file:
Mapiform.h
Exposed by:
Form objects
Implemented by:
Form servers
Called by:
Form viewers
Interface identifier:
IID_IMAPIForm
Pointer type:
LPMAPIFORM

Vtable order

Member Description
SetViewContext
Establishes a view context for the form.
GetViewContext
Returns the current view context for the form.
ShutdownForm
Closes the form.
DoVerb
Requests that the form perform whatever tasks it associates with a specific verb.
Advise
Registers a form viewer for notifications about events that affect the form.
Unadvise
Cancels a registration for notifications with a form viewer previously established by calling Advise.
GetLastError
Returns a MAPIERROR structure that contains information about the previous error occurring to the form object.

See also

MAPI Interfaces