Registers the class as requiring one or more component categories.
HRESULT RegisterClassReqCategories(
REFCLSID rclsid, |
//Class ID of the relevent class |
ULONG cCategories, |
//Number of category CATIDs |
CATID* rgcatid |
//Array of cCategories CATID |
); |
Parameters
Return Values
Remarks
In case of an error, this function does not ensure that the Registry is restored to the state prior to the call. This function can only be called by the owner of a class, usually as part of the installation of the component.
See Also
ICatRegister::RegisterCategories, ICatRegister::RegisterClassImplCategories, ICatRegister::UnRegisterCategories, ICatRegister::UnRegisterClassImplCategories, ICatRegister::UnRegisterClassReqCategories