InternetFindNextFile

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

At a Glance

Header file: Wininet.h
Windows CE versions: 2.0 and later

Syntax

BOOL WINAPI InternetFindNextFile(HINTERNET hFind,  LPVOID lpvFindData);

Parameters

hFind

Valid handle returned from FtpFindFirstFile or InternetOpenUrl (directories only).

lpvFindData

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 Windows CE Internet API supports the full features of the corresponding Win32 Internet function for an internet handle returned by FtpFindFirstFile.