The following table shows the RAPI file and directory management functions.
File and directory management functions |
|
CeFindAllFiles | CeSetFilePointer |
CeFindFirstFile | CeSetEndOfFile |
CeFindNextFile | CeCreateDirectory |
CeFindClose | CeRemoveDirectory |
CeGetFileAttributes | CeMoveFile |
CeSetFileAttributes | CeCopyFile |
CeCreateFile | CeDeleteFile |
CeReadFile | CeGetFileSize |
CeWriteFile | CeGetFileTime |
CeCloseHandle | CeSetFileTime |
– Or –
Call the CeGetSpecialFolderPath function to get the path of a specific desktop folder, which depends on the input parameter. The possibilities include the Recycle Bin, Start menu directory, document template directory, network directory, and folders for fonts or installed printers.
As with the CeFindAllDatabases function, the information is returned in an array of CE_FIND_DATA structures.
Also, you must free the memory allocated by the CeFindAllFiles function by calling the CeRapiFreeBuffer function.