|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| kernel32.lib
| Header File
| winbase.h
| Unicode
| WinNT
| Platform Notes
| Win32s returns times in LocalTime
|
|
|
FindNextFile
The FindNextFile function continues a file search from a previous call to the FindFirstFile function.
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 structure that receives information about the found file or subdirectory. The
structure can be used in subsequent calls to FindNextFile to refer to the found file or directory.
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. If no matching files can be found, the GetLastError function returns ERROR_NO_MORE_FILES.
Remarks
The FindNextFile function searches for files by name only; it cannot be used for
attribute-based searches.
See Also
FindClose, FindFirstFile, GetFileAttributes, SetFileAttributes, WIN32_FIND_DATA
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|