FindFirst() finds the first matching file or directory and returns it in firstFile. FindFirst *must* be called prior to FindNext(). You must call FindEnd() when done.
Implements CATFileSystem. Definition at line 197 of file CATFileSystem_Win32.cpp. References CATFileSystem::BuildPath(), CAT_ERR_FIND_NO_MATCHES, CAT_STAT_PATH_IS_DIRECTORY, CAT_STAT_PATH_IS_FILE, CAT_SUCCESS, CATRESULTDESC, CATString::Compare(), CATFileSystem::fBasePath, fFindPaths, CATFileSystem::fFSLock, CATMutex::Release(), CATFileSystem::RemoveBasePath(), CATFileSystem::SplitPath(), and CATMutex::Wait().
|