Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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

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:
© 2015 Microsoft