Registers one or more component categories. Each component category consists of a CATID and a list of locale-dependent description strings.
HRESULT RegisterCategories(
ULONG cCategories, //Number of component categories
CATEGORYINFO* rgCategoryInfo //Array of cCategories CATEGORYINFO
// structures
);
This function can only be called by the owner of a category, usually as part of the installation or de-installation of the operating system or application.
Windows NT: Use version 5.0 or later.
Windows: Unsupported.
Windows CE: Unsupported.
Header: Declared in comcat.h.
ICatRegister::RegisterClassImplCategories, ICatRegister::RegisterClassReqCategories, ICatRegister::UnRegisterCategories, ICatRegister::UnRegisterClassImplCategories, ICatRegister::UnRegisterClassReqCategories