Compartilhar via


IMAPIForm : IUnknown

Applies to: Office 2010 | Outlook 2010 | Visual Studio

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