Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.09 KB

PathFindOnPath.md

File metadata and controls

47 lines (32 loc) · 1.09 KB

Home

Function name : PathFindOnPath

Group: Shell Lightweight Utility APIs -- Path Functions - Library: netapi32


Searches for a file.


Code examples:

How to assemble an array of strings and pass it to external function

Declaration:

BOOL PathFindOnPath(
	LPTSTR pszFile,
	LPCTSTR *ppszOtherDirs
);  

FoxPro declaration:

DECLARE INTEGER PathFindOnPath IN shlwapi;
	STRING @ pszFile,;
	STRING @ ppszOtherDirs
  

Parameters:

pszFile [in] Pointer to a null-terminated string of maximum length MAX_PATH that contains the file name for which to search. If the search is successful, this parameter is used to return the fully qualified path name.

ppszOtherDirs [in] Optional null-terminated array of directories to be searched first.


Return value:

Returns TRUE if successful, or FALSE otherwise.