| Purpose |
| The FindClose closes the specified search handle. The FindFirstFile and FindNextFile functions use the search handle to locate files with names that match a given name. |
| Library | Transcribed by | Date of page | Updated on |
| Kernel32.dll | J.Paris | 25.06.02 |
| Restrictions on use |
| none |
| Declare 32-bit |
|
Declare Function FindClosee Lib "kernel32" Alias "FindClose" ( hFindFile As Integer ) As Integer |
| Required Type definition |
| Parameters | |
|
hFindFile
|
Identifies a search handle returned by a previous call to the FindFirstFile or FindNextFile function |
| Return value |
|
If the function succeeds, the return value is non zero If the function fails, the return value is zero. To get extended error information, call GetLastError. |
| Example |
| George de Greef's "Array of files in a directory" |
| Comments |
| See also |