FS:RenameDirectory

Revision as of 03:15, 23 November 2014 by Yuriks (talk | contribs) (Created Page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Renames or moves a directory. The file is moved from the path srcDirLowPath in archive srcArchive to destDirLowPath in destArchive. (NOTE: Moving directories to different archives wasn't tested.)

Request

Index Word Description
0 Header code [0x080A0244]
1 0
2 srcArchive.handleLow
3 srcArchive.handleHigh
4 srcDirLowPath.type
5 srcDirLowPath.size
6 destArchive.handleLow
7 destArchive.handleHigh
8 destDirLowPath.type
9 destDirLowPath.size
10 (srcDirLowPath.size << 14) | 0x402
11 srcDirLowPath.data
12 (destDirLowPath.size << 14) | 0x802
13 destDirLowPath.data

Response

Index Word Description
0 Header code
1 Resultcode

Errors

Result code Description
0 Returned on success.
0xC8804478 When the source directory does not exist or is a file.
0xC82044BE When the destination directory already exists.