Export (0) Print
Expand All

ISearchFolderItemFactory::SetScope method

Sets search scope, as specified.

Syntax


HRESULT SetScope(
  [in]  IShellItemArray *psiaScope
);

Parameters

psiaScope [in]

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]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft