ICatInformation::IsClassOfCategories method
Determines whether a class implements one or more categories.
Syntax
HRESULT IsClassOfCategories( [in] REFCLSID rclsid, [in] ULONG cImplemented, [in] const CATID rgcatidImpl[], [in] ULONG cRequired, [in] const CATID rgcatidReq[] );
Parameters
- rclsid [in]
-
The class identifier.
- cImplemented [in]
-
The number of category IDs in the rgcatidImpl array. This value cannot be zero. If this value is -1, the implemented categories are not tested.
- rgcatidImpl [in]
-
An array of category identifiers.
If the class requires a category not listed in rgcatidReq, it is not included in the enumeration.
- cRequired [in]
-
The number of category IDs in the rgcatidReq array. This value can be zero. If this value is -1, the required categories are not tested.
- rgcatidReq [in]
-
An array of category identifiers.
Return value
If the class ID is of one of the specified categories, the return value is S_OK. Otherwise, is it S_FALSE.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
|
IDL |
|
|
IID |
IID_ICatInformation is defined as 0002E013-0000-0000-C000-000000000046 |
See also