다음을 통해 공유


ICatInformation::IsClassOfCategories (Windows CE 5.0)

Send Feedback

This method determines if a class implements one or more categories. If the class requires a category not listed in the rgcatidReq parameter, it is not included in the enumeration.

HRESULT IsClassOfCategories(REFCLSIDrclsid,ULONGcImplemented,CATIDrgcatidImpl[],ULONGcRequired,CATIDrgcatidReq[]);

Parameters

  • rclsid
    [in] Class identifier of the relevant class to query.
  • cImplemented
    [in] Number of category identifiers in the rgcatidImpl array. This value cannot be zero. If this value is ((ULONG) -1), the implemented categories are not tested.
  • rgcatidImpl
    [in] Array of category identifiers.
  • cRequired
    [in] Number of category identifiers in the rgcatidReq array. This value can be zero. If this value is ((ULONG) -1), the required categories are not tested.
  • rgcatidReq
    [in] Array of category identifiers.

Return Values

If the rclsid is of category rcatid then the method returns S_OK; otherwise it returns S_FALSE.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Comcat.h, Comcat.idl.
Link Library: Ole32.lib, Uuid.lib.

See Also

ICatInformation::EnumCategories | ICatInformation::EnumClassesOfCategories | ICatInformation::EnumImplCategoriesOfClass | ICatInformation::EnumReqCategoriesOfClass | ICatInformation::GetCategoryDesc

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.