ISearchFolderItemFactory::SetScope method (shobjidl_core.h)
Sets search scope, as specified.
Syntax
HRESULT SetScope(
[in] IShellItemArray *psiaScope
);
Parameters
[in] 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
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) |