ICatRegister::RegisterClassImplCategories (Windows CE 5.0)
This method registers the class as implementing one or more component categories.
HRESULT RegisterClassImplCategories(REFCLSIDrclsid,ULONGcCategories,CATIDrgcatid[]);
Parameters
- rclsid
[in] Class identifier of the relevant class for which category information will be set. - cCategories
[in] Number of categories to associate as category identifiers for the class. - rgcatid
[in] Array of cCategories CATIDs to associate as category identifiers for the class.
Return Values
If the method succeeds, the return value is S_OK.
If one or more arguments are incorrect, the method returns E_INVALIDARG.
Remarks
In case of an error, this function does not ensure that the Registry is restored to the state prior to the call. Only the owner of a class can call this function, usually as part of the installation of the component.
To determine whether the platform supports this interface, see Determining Supported COM APIs.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Comcat.h, Comcat.idl.
Link Library: Ole32.lib, Uuid.lib.
See Also
ICatRegister::RegisterCategories | ICatRegister::RegisterClassReqCategories | ICatRegister::UnRegisterCategories | ICatRegister::UnRegisterClassImplCategories | ICatRegister::UnRegisterClassReqCategories
Send Feedback on this topic to the authors