ICatInformation::EnumReqCategoriesOfClass

Returns an enumerator for the CATIDs required by the specified class.

HRESULT EnumReqCategoriesOfClass(
  REFCLSID rclsid,         //Class ID
  IEnumCATID** ppenumCATD  //Location in which to return an 
                           // IEnumCATID interface
);
 

Parameters

rclsid
[in] Specifies the class ID.
ppenumCATD
[out] Specifies the location to return an IEnumCATID interface. This can be used to enumerate the CATIDs that are required by rclsid.

Return Values

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.

QuickInfo

  Windows NT: Use version 5.0 or later.
  Windows: Unsupported.
  Windows CE: Unsupported.
  Header: Declared in comcat.h.

See Also

ICatInformation::EnumCategories, ICatInformation::EnumClassesOfCategories, ICatInformation::EnumImplCategoriesOfClass, ICatInformation::GetCategoryDesc, ICatInformation::IsClassOfCategories