Group: Remote Application Programming (RAPI) - Library: rapi
This function searches a directory for a file whose name matches the specified filename. CeFindFirstFile examines subdirectory names as well as filenames.
Pocket PC: custom RAPI class for operating with files and folders on mobile device
HANDLE CeFindFirstFile(
LPCWSTR lpFileName,
LPCE_FIND_DATA lpFindFileData
); DECLARE INTEGER CeFindFirstFile IN rapi;
STRING lpFileName,;
STRING @ lpFindFileData
lpFileName [in] Long pointer to a null-terminated string that specifies a valid directory or path and filename, which can contain wildcard characters (* and ?).
lpFindFileData [out] Long pointer to the WIN32_FIND_DATA structure that receives information about the found file or subdirectory.
A search handle, used in a subsequent call to CeFindNextFile or CeFindClose, indicates success. INVALID_HANDLE_VALUE indicates failure.
See also: CeCloseHandle, CeFindNextFile functions.
Home