CComModule::RegisterClassHelper
As of ATL 7.0, CComModule is obsolete: see ATL Module Classes for more details.
ATL_DEPRECATED HRESULT RegisterClassHelper(
const CLSID& clsid,
LPCTSTR lpszProgID,
LPCTSTR lpszVerIndProgID,
UINT nDescID,
DWORD dwFlags
);
Parameters
clsid
[in] The CLSID of the object to be registered.lpszProgID
[in] The ProgID associated with the object.lpszVerIndProgID
[in] The version-independent ProgID associated with the object.nDescID
[in] The identifier of a string resource for the object's description.dwFlags
[in] Specifies the threading model to enter in the registry. Possible values are THREADFLAGS_APARTMENT, THREADFLAGS_BOTH, or AUTPRXFLAG.
Return Value
A standard HRESULT value.
Remarks
Enters an object's standard class registration in the system registry.
The UpdateRegistryClass method calls RegisterClassHelper.
Requirements
Header: atlbase.h
See Also
Reference
CComModule::UnregisterClassHelper