CeFindNextFile (RAPI) (Windows CE 5.0)
This function continues a file search from a previous call to the CeFindFirstFile (RAPI) function.
CeFindNextFile is a remote application programming interface (RAPI), which enables an application running on a desktop computer to make function calls on a Windows CE–based device.
BOOLCeFindNextFile( HANDLEhFindFile, LPWIN32_FIND_DATAlpFindFileData);
Parameters
- hFindFile
[in] Search handle returned by a previous call to the CeFindFirstFile function. - lpFindFileData
[out] Pointer to the WIN32_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.
Return Values
Nonzero indicates success. Zero indicates failure. To get extended error information, call CeGetLastError. If no matching files can be found, the CeGetLastError function returns ERROR_NO_MORE_FILES.
Remarks
The CeFindNextFile function searches for files by name only; it cannot be used for attribute-based searches.
When working with RAPI for Windows CE 1.0 and 1.01, use the PegFindNextFile function.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Rapi.h.
Link Library: Rapi.lib.
See Also
RAPI Functions | CeFindClose (RAPI) | CeFindFirstFile (RAPI) | CeGetFileAttributes (RAPI) | CeSetFileAttributes (RAPI) | WIN32_FIND_DATA
Send Feedback on this topic to the authors