Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SHFindFiles function

[SHFindFiles is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Displays the Search window UI.

Syntax


BOOL SHFindFiles(
  _In_opt_  PCIDLIST_ABSOLUTE pidlFolder,
  _In_opt_  PCIDLIST_ABSOLUTE pidlSaveFile
);

Parameters

pidlFolder [in, optional]

Type: PCIDLIST_ABSOLUTE

The folder from which to start the search. This folder appears in the Look in: box in the Search window. This folder and all of its subfolders are searched unless users choose other options in the Search window's More Advanced Options. This value can be NULL.

pidlSaveFile [in, optional]

Type: PCIDLIST_ABSOLUTE

This parameter is not used and must be set to NULL.

Windows Server 2003 and Windows XP:  A saved search file (.fnd) to load. You can save search parameters to a .fnd file after the search is begun. This value can be NULL.

Return value

Type: BOOL

Returns TRUE if successful in displaying the Search window; otherwise FALSE.

Requirements

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

End of client support

Windows XP with SP2

End of server support

Windows Server 2003

Header

Shlobj.h

Library

Shell32.lib

DLL

Shell32.dll (version 6.0 or later)

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.