ICategorizer::GetDescription method (shobjidl_core.h)
Gets the name of a categorizer, such as Group By Device Type, that can be displayed in the UI.
HRESULT GetDescription( [out] LPWSTR pszDesc, [in] UINT cch );
When this method returns, contains a pointer to a string of length cch that contains the categorizer name.
The number of characters in the pszDesc buffer.
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
In the case of the system folder view object, if the description at pszDesc matches one of the category names listed in the folder's Arrange Icons By menu, a dot is placed by that name when the menu is displayed, either through the View menu or through the context menu.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|
|Header||shobjidl_core.h (include Shobjidl.h)|