Export (0) Print
Expand All

ICatInformation interface

Obtains information about the categories implemented or required by a certain class, as well as information about the categories registered on the specified computer.

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 ICatInformation.

When to use

Call the methods of ICatInformation to obtain a listing of available categories, enumerate classes that belong to a particular category, and determine if a class belongs to a specific category.

Information on using component categories can be found in Component Categories Manager Implementation.

Members

The ICatInformation interface inherits from the IUnknown interface. ICatInformation also has these types of members:

Methods

The ICatInformation interface has these methods.

MethodDescription
EnumCategories

Retrieves an enumerator for the component categories registered on the system.

EnumClassesOfCategories

Retrieves an enumerator for the classes that implement one or more specified category identifiers.

EnumImplCategoriesOfClass

Retrieves an enumerator for the CATIDs implemented by the specified class.

EnumReqCategoriesOfClass

Retrieves an enumerator for the CATIDs required by the specified class.

GetCategoryDesc

Retrieves the localized description string for a specific category ID.

IsClassOfCategories

Determines whether a class implements one or more categories.

 

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

ComCat.h

IDL

ComCat.idl

IID

IID_ICatInformation is defined as 0002E013-0000-0000-C000-000000000046

See also

ICatRegister

 

 

Community Additions

ADD
Show:
© 2014 Microsoft