ISearchFolderItemFactory::SetFolderTypeID method

Sets a search folder type ID, as specified.

Syntax


HRESULT SetFolderTypeID(
  [in] FOLDERTYPEID ftid
);

Parameters

ftid [in]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Show: