FS:RenameDirectory

FS:RenameDirectory

Request #

Index WordDescription
0Header code [0x080A0244]
1Transaction (usually 0)
2-3u64, Source Archive Handle
4Source Directory Path Type
5Source Directory Path Size
6-7u64, Destination Archive Handle
8Destination Directory Path Type
9Destination Directory Path Size
10(SourceDirectoryPathSize << 14) | 0x402
11Source Directory Path Data Pointer
12(DestinationDirectoryPathSize << 14) | 0x802
13Destination Directory Path Data Pointer

Response #

Index WordDescription
0Header code
1Result code

Description #

Renames or moves a directory. The file is moved from the path srcDirLowPath in archive srcArchive to destDirLowPath in destArchive. Renaming across different archives is not allowed, as listed below.

Errors #

Result codeDescription
0Returned on success.
0xC8804478When the source directory does not exist or is a file.
0xC82044BEWhen the destination directory already exists.
0xE0C046F8When the source archive and destination archive are not the same.