The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
AtlComModuleRegisterClassObjects
This function is called to register class objects.
Important |
|---|
This function cannot be used in applications that execute in the Windows Runtime. |
ATLINLINE ATLAPI AtlComModuleRegisterClassObjects(
_ATL_COM_MODULE * pComModule,
DWORD dwClsContext,
DWORD dwFlags
);
- pComModule
Pointer to the COM module.
- dwClsContext
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. See CLSCTX for more details.
- dwFlags
Determines the connection types to the class object. Possible values are REGCLS_SINGLEUSE, REGCLS_MULTIPLEUSE, or REGCLS_MULTI_SEPARATE. See REGCLS for more details.
Returns S_OK on success, or an error HRESULT on failure.
This helper function is utilized by CComModule::RegisterClassObjects (obsolete in ATL 7.0) and CAtlExeModuleT::RegisterClassObjects.
Requirements
Header: atlbase.h
Show:
