Freigeben über


CeFindClose (RAPI) (Windows CE 5.0)

Send Feedback

This function closes the specified search handle. The CeFindFirstFile and CeFindNextFile functions use the search handle to locate files with names that match a specified name.

CeFindClose is a remote application programming interface (RAPI), which enables an application running on a desktop computer to make function calls on a Windows CE–based device.

BOOLCeFindClose( HANDLEhFindFile);

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 determine if a function failed because of RAPI errors, call CeRapiGetError. To determine if a function failed because of non-RAPI errors, call CeGetLastError.

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.

When working with RAPI for Windows CE 1.0 and 1.01, use the PegFindClose function.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Rapi.h.
Link Library: Rapi.lib.

See Also

RAPI Functions | CeFindFirstFile | CeFindNextFile | CeGetLastError | CeRapiGetError

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.