IMAPIForm : IUnknown

Last modified: July 23, 2011

Applies to: Outlook

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

Header file:

Mapiform.h

Exposed by:

Form objects

Implemented by:

Form servers

Called by:

Form viewers

Interface identifier:

IID_IMAPIForm

Pointer type:

LPMAPIFORM

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.

Show:
© 2014 Microsoft