The ICatRegister interface provides methods for registering and unregistering component category information in the Registry. This includes both the human-readable names of categories and the categories implemented/required by a given component or class.
There is no need to implement this interface. The Component Category Manager, a system-provided COM object that can be instantiated by using CoCreateInstance, implements ICatRegister.
The owner of a category uses this interface to register or unregister the human-readable names. The owner of a component uses this interface to add or remove categories implemented or required by this component.
Methods in Vtable Order
IUnknown Methods |
Description |
QueryInterface |
Returns pointers to supported interfaces. |
AddRef |
Increments reference count. |
Release |
Decrements reference count. |
ICatRegister Methods |
Description |
Registers one or more component categories. | |
Removes the registration of one or more component categories. | |
Registers the class as implementing one or more component categories. | |
Removes one or more implemented category identifiers from a class. | |
Registers the class as requiring one or more component categories. | |
Removes one or more required category identifiers from a class. |