Share via


CeFindNextFile (RAPI)

This function continues a file search from a previous call to the CeFindFirstFile (RAPI) function. CeFindNextFile is a remote application interface (RAPI), which enables an application running on a desktop computer to make function calls on a Windows CE–based device.

BOOL CeFindNextFile( 
HANDLE hFindFile, 
LPWIN32_FIND_DATA lpFindFileData); 

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 versions 1.0 and 1.01, use the PegFindNextFile function.

For more information about using RAPI functions, see Invoking Functions from a Desktop Computer.

Requirements

Runs On Versions Defined in Include Link to
Windows CE OS 2.0 and later Rapi.h    

See Also

CeFindClose (RAPI), CeFindFirstFile (RAPI), CeGetFileAttributes (RAPI), CeSetFileAttributes (RAPI), WIN32_FIND_DATA

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.