Skip to content

Latest commit

 

History

History
72 lines (58 loc) · 2.75 KB

nf-shobjidl_core-icategoryprovider-enumcategories.md

File metadata and controls

72 lines (58 loc) · 2.75 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:shobjidl_core.ICategoryProvider.EnumCategories
ICategoryProvider::EnumCategories (shobjidl_core.h)
Gets the enumerator for the list of GUIDs that represent categories.
EnumCategories
EnumCategories method [Windows Shell]
EnumCategories method [Windows Shell]
ICategoryProvider interface
ICategoryProvider interface [Windows Shell]
EnumCategories method
ICategoryProvider.EnumCategories
ICategoryProvider::EnumCategories
inet_ICategoryProvider_EnumCategories
shell.ICategoryProvider_EnumCategories
shobjidl_core/ICategoryProvider::EnumCategories
shell\ICategoryProvider_EnumCategories.htm
shell
5008ce75-7a90-4f30-84e0-13d00cc1e58e
12/05/2018
EnumCategories, EnumCategories method [Windows Shell], EnumCategories method [Windows Shell],ICategoryProvider interface, ICategoryProvider interface [Windows Shell],EnumCategories method, ICategoryProvider.EnumCategories, ICategoryProvider::EnumCategories, inet_ICategoryProvider_EnumCategories, shell.ICategoryProvider_EnumCategories, shobjidl_core/ICategoryProvider::EnumCategories
shobjidl_core.h
Shobjidl.h
Windows
Windows XP [desktop apps only]
Windows Server 2003 [desktop apps only]
Shobjidl.idl
Shell32.dll
Windows
19H1
ICategoryProvider::EnumCategories
shobjidl_core/ICategoryProvider::EnumCategories
c++
APIRef
kbSyntax
COM
Shell32.dll
ICategoryProvider.EnumCategories

ICategoryProvider::EnumCategories

-description

Gets the enumerator for the list of GUIDs that represent categories.

-parameters

-param penum [out]

Type: IEnumGUID**

When this method returns, contains the address of a pointer to an IEnumGUID interface that specifies a list of GUIDs that represent categories.

-returns

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

-remarks

In the case of the system folder view object, ICategoryProvider::EnumCategories is used to obtain additional categories that are not associated with a column. When the list of category GUIDs is returned through penum, the UI attempts to retrieve the name of each category. That name is then displayed as a category choice. In the case of Windows XP, that choice appears in the folder's Arrange Icons By menu.