Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ICatInformation::IsClassOfCategories method

Determines whether a class implements one or more categories.

Syntax


HRESULT IsClassOfCategories(
  [in]       REFCLSID rclsid,
  [in]       ULONG    cImplemented,
  [inconst CATID    rgcatidImpl[],
  [in]       ULONG    cRequired,
  [inconst 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

ComCat.h

IDL

ComCat.idl

IID

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

See also

ICatInformation

 

 

Community Additions

ADD
Show:
© 2015 Microsoft