Share via


CeFindClose (RAPI) (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

RAPI Functions
CeFindFirstFile (RAPI)
CeFindNextFile (RAPI)