FindNextFile
The FindNextFile
function continues a file search from a previous call to the FindFirstFile
BOOL FindNextFile(
HANDLE hFindFile, |
// handle to
search |
LPWIN32_FIND_DATA lpFindFileData |
// pointer to
structure for data on found file |
); |
|
Parameters
hFindFile
Identifies a
search handle returned by a previous call to the FindFirstFile function.
lpFindFileData
Points to the
WIN32_FIND_DATA
Return Values
If the function
succeeds, the return value is nonzero.
If the
function fails, the return value is zero. To get extended error information,
call GetLastError
Remarks
The FindNextFile
function searches for files by name only; it cannot be used for attribute-based
searches.
See Also