Game Accessibility Library logo SourceForge.net Logo
Game Accessibility Suite: CATFileSystem_Win32::FindNext
CATResult CATFileSystem_Win32::FindNext ( CATString nextFile,
CATFINDHANDLE  findHandle 
) [virtual]

FindNext() finds the next matching file or directory and returns it in nextFile.

You should pass the findHandle returned by a previous call to FindFirst().

Parameters:
nextFile - ref to string to receive path of next file
findHandle - handle for search.
Returns:
CATResult - CAT_STAT_PATH_IS_DIRECTORY if entry is a directory. CAT_STAT_PATH_IS_FILE if it's a file. CAT_ERR_FIND_END if no more files are available.
See also:
FindFirst(), FindEnd()

Implements CATFileSystem.

Definition at line 265 of file CATFileSystem_Win32.cpp.

References CATFileSystem::BuildPath(), CAT_ERR_FIND_CALL_FINDFIRST, CAT_ERR_FIND_END, CAT_STAT_PATH_IS_DIRECTORY, CAT_STAT_PATH_IS_FILE, CATASSERT, CATRESULT, CATString::Compare(), fFindPaths, CATFileSystem::fFSLock, CATMutex::Release(), and CATMutex::Wait().


Generated on Mon Feb 11 04:10:29 2008 for Game Accessibility Suite by doxygen 1.5.4