ISearchFolderItemFactory::SetScope method

Sets search scope, as specified.

Syntax

HRESULT SetScope(
  IShellItemArray *psiaScope
);

Parameters

psiaScope

Type: IShellItemArray*

A pointer to the list of locations to search. The search will include this location and all its subcontainers. The default is FOLDERID_Profile

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)