Continues a file search from a previous call to the FindFirstFile function.
Syntax
HRESULT FindNextFile( HANDLE hSearchHandle, LPWIN32_FIND_DATAW pFindFileData );
Parameters
- hSearchHandle
- Search handle returned by a previous call to the FindFirstFile function.
- pFindFileData
- Address of a WIN32_FIND_DATA structure that receives information about the file or subdirectory that has been found.
Return Value
Returns S_OK if successful, or an error code otherwise.