EnumCategories Method
Collapse the table of content
Expand the table of content

ICatInformation::EnumCategories method

Retrieves an enumerator for the component categories registered on the system.

Syntax


HRESULT EnumCategories(
  [in]  LCID              lcid,
  [out] IEnumCATEGORYINFO **ppenumCategoryInfo
);

Parameters

lcid [in]

The requested locale for any return szDescription of the enumerated categories. Typically, the caller specifies the value returned from the GetUserDefaultLCID function.

ppenumCategoryInfo [out]

A pointer to a pointer to an IEnumCATEGORYINFO interface. This can be used to enumerate the CATIDs and localized description strings of the component categories registered with the system.

Return value

This method can return the standard return values E_INVALIDARG, E_OUTOFMEMORY, and S_OK.

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

 

 

Show:
© 2016 Microsoft