HRESULT RegisterClassObjects( DWORD dwClsContext, DWORD dwFlags );
Return Value
A standard HRESULT value.
Parameters
dwClsContext
[in] Specifies the context in which the class object is to be run. Possible values are CLSCTX_INPROC_SERVER, CLSCTX_INPROC_HANDLER, or CLSCTX_LOCAL_SERVER. For a description of these values, see CLSCTX in the Win32 SDK.
dwFlags
[in] Determines the connection types to the class object. Possible values are REGCLS_SINGLEUSE, REGCLS_MULTIPLEUSE, or REGCLS_MULTI_SEPARATE. For a description of these values, see REGCLS in the Win32 SDK.
Remarks
Registers the class factory in the Running Object Table.
Note RegisterClassObjects is only available to EXEs.
CComModule Overview | Class Members
See Also CComModule::RevokeClassObjects