FS:CreateFile: Difference between revisions
m Fixed mistake in error code |
Steveice10 (talk | contribs) m Use common types. |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Transaction (usually 0) | ||
|- | |- | ||
| 2 | | 2-3 | ||
| u64, Archive Handle | |||
| Archive | |||
|- | |- | ||
| 4 | | 4 | ||
| [[ | | [[Filesystem_services#PathType|Path Type]] | ||
|- | |- | ||
| 5 | | 5 | ||
| | | Path Size | ||
|- | |- | ||
| 6 | | 6 | ||
| | | [[Filesystem_services#Attributes|Attributes]] | ||
|- | |- | ||
| 7 | | 7-8 | ||
| Bytes to fill with zeroes in the file | | u64, Bytes to fill with zeroes in the file | ||
|- | |- | ||
| | | 9 | ||
| | | (PathSize << 14) <nowiki>|</nowiki> 2 | ||
|- | |- | ||
| 10 | | 10 | ||
| | | Path Data Pointer | ||
|} | |} | ||
Line 49: | Line 43: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Result code | ||
|} | |} | ||
Line 55: | Line 49: | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! Result code | ! Result code | ||
! Description | |||
|- | |- | ||
| 0 | | 0 | ||
| Returned on success. | |||
|- | |- | ||
| 0x82044BE | | 0x82044BE | ||
| There is already a file or directory in the requested location. | |||
|- | |- | ||
| 0x86044D2 | | 0x86044D2 | ||
| The created file is too large. | |||
|} | |} |