Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.09 KB

File metadata and controls

46 lines (32 loc) · 1.09 KB

Home

Function name : FindNextFile

Group: File Management - Library: kernel32


The FindNextFile function continues a file search from a previous call to the FindFirstFile function.


Code examples:

Building a tree of subdirectories for a given path using FindFile functions

Declaration:

BOOL FindNextFile(
  HANDLE hFindFile,                // search handle
  LPWIN32_FIND_DATA lpFindFileData // data buffer
);  

FoxPro declaration:

DECLARE INTEGER FindNextFile IN kernel32;
	INTEGER   hFindFile,;
	STRING  @ lpFindFileData  

Parameters:

hFindFile [in] Search handle returned by a previous call to the FindFirstFile function.

lpFindFileData [out] Pointer to the WIN32_FIND_DATA structure that receives information about the found file or subdirectory.


Return value:

If the function succeeds, the return value is nonzero.