FS:CreateFile

From 3dbrew
Revision as of 05:36, 14 December 2014 by Guiand (talk | contribs) (Added error codes to CreateFile)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x08080202]
1 Unknown (Always zero?)
2 Archive handle lower word
3 Archive handle upper word
4 File LowPath.Type
5 File LowPath.Size
6 Unknown (Always zero?)
7 Bytes to fill with zeroes in the file
8 Unknown (Always zero?)
9 (File LowPath.Size<<14) | 2
10 File LowPath.Data pointer

Response

Index Word Description
0 Header code
1 Resultcode

Errors

Result code Description
0 Returned on success.
0x86044BE There is already a file or directory in the requested location.
0x86044D2 The created file is too large.