ISearchFolderItemFactory::SetIconSize method (shobjidl_core.h)

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(
  [in] int iIconSize
);

Parameters

[in] iIconSize

Type: int

The icon size.

Return value

Type: HRESULT

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

Requirements

Requirement Value
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)