ISearchFolderItemFactory::SetIconSize method

Sets the search folder icon size, as specified. The default settings are based on the FolderTypeID which is set by the ISearchFolderItemFactory::SetFolderTypeID method.

Syntax

HRESULT SetIconSize(
  int iIconSize
);

Parameters

iIconSize

Type: int

The icon size.

Return Value

Type: HRESULT

Returns a success value if successful, or an error value otherwise.

Requirements

   
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header shobjidl_core.h (include Shobjidl.h)