Поделиться через


CFtpFileFind::FindNextFile

Call this member function to continue a file search begun with a call to the FindFile member function.

virtual BOOL FindNextFile( );

Возвращаемое значение

Nonzero if there are more files; zero if the file found is the last one in the directory or if an error occurred. To get extended error information, call the Win32 function GetLastError. If the file found is the last file in the directory, or if no matching files can be found, the GetLastError function returns ERROR_NO_MORE_FILES.

Заметки

You must call this function at least once before calling any attribute function (see CFileFind::FindNextFile).

FindNextFile wraps the Win32 function FindNextFile.

Пример

See the example in the CFtpFileFind class overview.

Требования

Header: afxinet.h

См. также

Основные понятия

CFtpFileFind Class

CFtpFileFind Members

Hierarchy Chart

CFileFind Class