Difference between revisions of "FS:RenameDirectory"
Jump to navigation
Jump to search
(Created Page) |
Steveice10 (talk | contribs) m (→Request) |
||
Line 8: | Line 8: | ||
| 0 || Header code [0x080A0244] | | 0 || Header code [0x080A0244] | ||
|- | |- | ||
− | | 1 || 0 | + | | 1 || Transaction (usually 0) |
|- | |- | ||
| 2 || srcArchive.handleLow | | 2 || srcArchive.handleLow |
Revision as of 06:04, 16 October 2015
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 | Transaction (usually 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. |