Platform SDK: COM |
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/2000: Requires Windows NT 4.0 SP3 or later.
Windows 95/98: Requires Windows 98 (or Windows 95 with DCOM).
Header: Declared in comcat.h.
ICatRegister::RegisterClassImplCategories, ICatRegister::RegisterClassReqCategories, ICatRegister::UnRegisterCategories, ICatRegister::UnRegisterClassImplCategories, ICatRegister::UnRegisterClassReqCategories