InternetFindNextFile

This function continues a file search from a previous call to FtpFindFirstFile.

BOOL WINAPI InternetFindNextFile(
  HINTERNET hFind, 
  LPVOID lpvFindData
);

Parameters

  • hFind
    [in] Valid handle returned from FtpFindFirstFile or InternetOpenUrl (directories only).
  • lpvFindData
    [out] Long void pointer to the buffer that receives information about the found file or directory. The format of the information placed in the buffer depends on the protocol in use. The FTP protocol returns a WIN32_FIND_DATA structure.

Return Values

TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError. If the function finds no matching files, GetLastError returns ERROR_NO_MORE_FILES.

Remarks

This WinInet API supports the full features of the corresponding WinInet function for an Internet handle returned by FtpFindFirstFile.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Wininet.h.
Link Library: Wininet.lib.

See Also

FtpFindFirstFile | InternetOpenUrl | WIN32_FIND_DATA | WinInet Functions

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.