Component Categories

Classic COM components that are registered may make use of component categories. Categories are represented by CATIDs.

  • The system comes with a number of standard categories, and you can add and remove custom categories. You can declare a class implements or requires categories. This is done with ICatRegister.
  • You can discover categories and classes on a system with ICatInformation.
  • You can define a default CLSID for a category with CoTreatAsClass. If default component is defined, you can call CoCreateInstance with the CATID instead of the CLSID.

References