ISearchFolderItemFactory::SetDisplayName method (shobjidl_core.h)

Sets the search folder display name, as specified.

Syntax

HRESULT SetDisplayName(
  [in] LPCWSTR pszDisplayName
);

Parameters

[in] pszDisplayName

Type: LPCWSTR

A pointer to a folder display name as a Unicode string.

Return value

Type: HRESULT

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

Remarks

Calling this method is required. A display name must be set.

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)