FS:CreateFile: Difference between revisions

Guiand (talk | contribs)
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
| Unknown (Always zero?)
| Transaction (usually 0)
|-
|-
| 2
| 2-3
| Archive handle lower word
| u64, Archive Handle
|-
| 3
| Archive handle upper word
|-
|-
| 4
| 4
| [[FS:OpenFile|File]] LowPath.Type
| [[Filesystem_services#PathType|Path Type]]
|-
|-
| 5
| 5
| File LowPath.Size
| Path Size
|-
|-
| 6
| 6
| Unknown (Always zero?)
| [[Filesystem_services#Attributes|Attributes]]
|-
|-
| 7
| 7-8
| Bytes to fill with zeroes in the file
| u64, Bytes to fill with zeroes in the file
|-
|-
| 8
| 9
| Unknown (Always zero?)
| (PathSize << 14) <nowiki>|</nowiki> 2
|-
|-
| 9
| (File LowPath.Size<<14)  <nowiki>|</nowiki> 2
|-a
| 10
| 10
| File LowPath.Data pointer
| Path Data Pointer
|}
|}


Line 49: Line 43:
|-
|-
| 1
| 1
| Resultcode
| Result code
|}
|}


Line 55: Line 49:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Result code !! Description
! Result code
! Description
|-
|-
| 0 || Returned on success.
| 0
| Returned on success.
|-
|-
| 0x82044BE || There is already a file or directory in the requested location.
| 0x82044BE
| There is already a file or directory in the requested location.
|-
|-
| 0x86044D2 || The created file is too large.
| 0x86044D2
| The created file is too large.
|}
|}