CeFindClose (RAPI)

Send Feedback

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

BOOL CeFindClose( 
  HANDLE hFindFile 
);

Parameters

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

Return Values

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

Pocket PC: Pocket PC 2000 and later
Smartphone: Smartphone 2002 and later
OS Versions: Windows CE 3.0 and later
Header: Rapi.h
Library: Rapi.lib

See Also

Remote API Functions | CeFindFirstFile, CeFindNextFile

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.