1 out of 1 rated this helpful - Rate this topic

ICatInformation::IsClassOfCategories method

Applies to: desktop apps only

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

Minimum supported server

Windows 2000 Server

Header

ComCat.h

IDL

ComCat.idl

IID

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

See also

ICatInformation

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ