Partager via


ICatInformation::EnumReqCategoriesOfClass

This method returns an enumerator for the CATIDs required by the specified class.

HRESULT EnumReqCategoriesOfClass(
  REFCLSID rclsid, 
  IEnumCATID** ppenumCATD 
);

Parameters

  • rclsid
    [in] Class identifier.
  • ppenumCATD
    [out] Location to return an IEnumCATID interface. This can be used to enumerate the CATIDs that are required by rclsid.

Return Values

The following table shows the return values for this method.

Value Description
S_OK The function was successful.
E_INVALIDARG One or more arguments are incorrect.
E_OUTOFMEMORY Insufficient memory to create and return an enumerator object.

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::GetCategoryDesc | ICatInformation::IsClassOfCategories

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.