Share via


CeFindClose (RAPI)

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.

Syntax

BOOL CeFindClose( 
  HANDLE hFindFile 
);

Parameters

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

Return Value

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

Remarks

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.

Requirements

Header rapi.h
Library rapi.lib
Windows Embedded CE Windows CE 3.0 and later
Windows Mobile Pocket PC 2000 and later, Smartphone 2002 and later

See Also

Reference

RAPI Functions
CeFindFirstFile (RAPI)
CeFindNextFile (RAPI)