Group: Remote Application Programming (RAPI) - Library: rapi
This function retrieves information about all files and directories in the given directory of the Windows CE object store.
Pocket PC: custom RAPI class for operating with files and folders on mobile device
BOOL CeFindAllFiles(
LPCWSTR szPath,
DWORD dwFlags,
LPDWORD lpdwFoundCount,
LPLPCE_FIND_DATA ppFindDataArray
);
DECLARE INTEGER CeFindAllFiles IN rapi;
STRING szPath,;
INTEGER dwFlags,;
INTEGER @ lpdwFoundCount,;
INTEGER @ ppFindDataArray
szPath [in] Null-terminated string contains the name of the path in which to search for files.
dwFlags [in] Combination of filter and retrieval flags. The filter flags specify what kinds of files to document, and the retrieval flags specify which members of the CE_FIND_DATA structure to retrieve.
lpdwFoundCount [out] Long pointer to a variable that receives a count of the items found.
ppFindDataArray [out] Pointer to the pointer to an array of CE_FIND_DATA structures that receive information about the found items.
TRUE indicates success. FALSE indicates failure.
The function copies information to an array of CE_FIND_DATA structures.
It is the application"s responsibility to free the memory used by the ppFindDataArray array. To free the memory you must call CeRapiFreeBuffer.