CeFindClose (RAPI)

Windows Mobile 6.5
A version of this page is also available for

This function closes the specified search handle on a remote Windows Embedded CE–based device. The CeFindFirstFile and CeFindNextFile methods use a search handle to locate files.

BOOL CeFindClose( 
  HANDLE hFindFile 


[in] Search handle. This handle must have been previously opened by the CeFindFirstFile function.

Nonzero indicates success. Zero indicates failure. To get extended error information, call CeGetLastError and CeRapiGetError.

After the CeFindClose function is called, the handle specified by the hFindFile parameter cannot be used in subsequent calls to either the CeFindNextFile or CeFindClose function.

Windows Embedded CEWindows CE 3.0 and later
Windows MobilePocket PC 2000 and later, Smartphone 2002 and later

Community Additions