Partager via


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

Vtable Order

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

Concepts

MAPI Interfaces