Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 995 Bytes

FindClose.md

File metadata and controls

41 lines (28 loc) · 995 Bytes

Home

Function name : FindClose

Group: File Management - Library: kernel32


The FindClose function closes the specified search handle. The FindFirstFile and FindNextFile functions use the search handle to locate files with names that match a given name.


Code examples:

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

Declaration:

BOOL FindClose(
  HANDLE hFindFile   // file search handle
);  

FoxPro declaration:

DECLARE INTEGER FindClose IN kernel32;
	INTEGER hFindFile  

Parameters:

hFindFile [in/out] File search handle. This handle must have been previously opened by the FindFirstFile function.


Return value:

If the function succeeds, the return value is nonzero.