Filter:Pascal Plain C C++ (DLL/Lib) C++ (VCL) C++ (.NET) C# VB.NET Java
Renames or moves file or folder inside one SolFS storage, deleting the previous file.
- [Plain C] Storage - handle to the storage returned by Create or Open function.
- OldFileName - old file name (full path must be specified).
- NewFileName - new file name (full path must be specified).
[Plain C] Return values
0 if the function succeeded or one of Error codes if the function failed.
Use DeleteAndRenameFile function to rename file or folder or move it from one place in the storage to another. The method deletes previously existing file with the name NewFileName, if such file is present. The operation is performed atomically, i.e. it will fail if either delete or rename/move operation fails.