The ICIINFO::GetCategory method, in Configuration Manager, gets a localized category name by index and the group name of the category.

HRESULT GetCategory(
	 ULONG ulIndex,
	 LanguageId* pLanguageId,
	 LPWSTR* ppszCategoryGroup,
	 LPWSTR* ppszCategoryName



Data type: ULONGQualifiers: [in]Index of the category to retrieve.

Data type: LanguageIdQualifiers: [in, out]Pointer to a language ID used to obtain the localized category name. If there is no localized name for this ID, the method attempts to obtain the language-independent string. If this does not exist, the method returns an error. On successful return from the method, this parameter indicates the language ID for the localized category name.

Data type: LPWSTRQualifiers: [out]Pointer to the category group.

Data type: LPWSTRQualifiers: [out]Pointer to the localized name of the category.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:


The method succeeded. All other return values indicate failure.


Runtime Requirements

Development Requirements

See Also

Other Resources

ICIINFO Interface

Send comments about this topic to Microsoft.