ICategoryProvider::GetCategoryForSCID method (shobjidl_core.h)

Gets a GUID that represents the categorizer to use for the specified Shell column.

Syntax

HRESULT GetCategoryForSCID(
  [in]  const SHCOLUMNID *pscid,
  [out] GUID             *pguid
);

Parameters

[in] pscid

Type: const SHCOLUMNID*

A pointer to a SHCOLUMNID structure.

[out] pguid

Type: GUID*

When this method returns, contains a pointer to a GUID that represents the categorizer to use for the SHCOLUMNID pointed to by pscid.

Return value

Type: HRESULT

Returns either S_OK on success or S_FALSE on failure.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)
DLL Shell32.dll