共用方式為


IMAPIFormFactory : IUnknown

Applies to: Office 2010 | Outlook 2010 | Visual Studio

Supports the use of configurable run-time forms in distributed computing environments.

Header file:

Mapiform.h

Exposed by:

Form factory objects

Implemented by:

Form servers

Called by:

Form viewers

Interface identifier:

IID_IMAPIFormFactory

Pointer type:

LPMAPIFORMFACTORY

Vtable Order

CreateClassFactory

Returns a class factory object for the form.

GetLastError

Returns a MAPIERROR structure that contains information about the previous error occurring to the form factory object.

LockServer

Keeps an open form server in memory.

Remarks

The IMAPIFormFactory interface is based on the IClassFactory interface, and objects that implement IMAPIFormFactory should also inherit from IClassFactory.

IMAPIFormFactory is the interface that form viewers use to create new form objects when a form server supports more than one message class (that is, more than one type of form object).

See Also

Concepts

MAPI Interfaces