ISearchFolderItemFactory::SetFolderTypeID method (shobjidl_core.h)

Sets a search folder type ID, as specified.

Syntax

HRESULT SetFolderTypeID(
  [in] FOLDERTYPEID ftid
);

Parameters

[in] ftid

Type: FOLDERTYPEID

The FOLDERTYPEID, which is a GUID used to identify folder types within the system. The default is FOLDERTYPID_Library

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)