This method retrieves the next file in an enumeration context.
BOOL CeFindNextFile( HANDLE hFindFile, LPCE_FIND_DATA lpFindFileData );
[in] Search handle returned by a previous call to the CeFindFirstFile function.
[out] Pointer to the CE_FIND_DATA structure that receives information about the found file or subdirectory. The structure can be used in subsequent calls to CeFindNextFile to refer to the found file or directory.
Nonzero indicates success. Zero indicates failure. To get extended error information, call CeGetLastError and CeRapiGetError. If no matching files can be found, the CeGetLastError function returns ERROR_NO_MORE_FILES.
The CeFindNextFile function searches for files by name only; it cannot be used for attribute-based searches.
Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Send Feedback on this topic to the authors