IMAPIFormFactory::CreateClassFactory
The IMAPIFormFactory::CreateClassFactory
method returns a class factory object for a form.
Quick Info
See IMAPIFormFactory
: IUnknown
HRESULT CreateClassFactory(
REFCLSID clsidForm, |
|
ULONG ulFlags, |
|
LPCLASSFACTORY FAR * lppClassFactory |
|
) |
|
Parameters
clsidForm
[in] Message
class identifier of the form for which to create the class factory.
ulFlags
Reserved;
must be zero.
lppClassFactory
[out] Pointer
to the returned class factory object.
Return Values
S_OK
The call
succeeded and has returned the expected value or values.
Remarks
Form viewers
call the IMAPIFormFactory::CreateClassFactory method to obtain a class
factory for a specific form from a form run-time package. CreateClassFactory
can return the same object for CreateClassFactory on multiple calls for
the same message class identifier; creating a new instance is not required. The
class factory returned is used to generate a new instance of the form.