CeFindNextFile
This function continues a file search from a previous call to the CeFindFirstFile function. CeFindNextFile is a RAPI that enables an application that is running on a desktop computer to make function calls on a Microsoft® Windows® CE–based device.
STDAPI_(BOOL) CeFindNextFile(
HANDLE hFindFile,
LPWIN_FIND_DATA lpFindFileData
);
Parameters
- hFindFile
[in] Search handle returned by a previous call to the CeFindFirstFile function. - lpFindFileData
[out] Pointer to the WIN_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.
Requirements
Smartphone Platforms: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: rapi.h
Library: rapi.lib
See Also
CeFindClose, CeFindFirstFile, CeGetFileAttributes, CeSetFileAttributes, CE_FIND_DATA
Last updated on Friday, April 22, 2005
© 2005 Microsoft Corporation. All rights reserved.
Send feedback on this topic to the authors.