CComModule::RegisterClassHelper

HRESULT RegisterClassHelper( const CLSID& clsid, LPCTSTR lpszProgID, LPCTSTR lpszVerIndProgID, UINT nDescID, DWORD dwFlags );

Return Value

A standard HRESULT value.

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.

Remarks

Enters an object's standard class registration in the system registry. The UpdateRegistryClass method calls RegisterClassHelper.

CComModule OverviewClass Members

See Also   CComModule::UnregisterClassHelper