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.
When to implement
You do not need to implement this interface. The component category manager, a system-provided COM object that can be instantiated by using CoCreateInstance, implements ICatRegister.
When to use
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.
Members
The ICatRegister interface inherits from the IUnknown interface. ICatRegister also has these types of members:
Methods
The ICatRegister interface has these methods.
| Method | Description |
|---|---|
| RegisterCategories |
Registers one or more component categories. |
| RegisterClassImplCategories |
Registers the class as implementing one or more component categories. |
| RegisterClassReqCategories |
Registers the class as requiring one or more component categories. |
| UnRegisterCategories |
Removes the registration of one or more component categories. |
| UnRegisterClassImplCategories |
Removes one or more implemented category identifiers from a class. |
| UnRegisterClassReqCategories |
Removes one or more required category identifiers from a class. |
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_ICatRegister is defined as 0002E012-0000-0000-C000-000000000046 |
See also