FS:OpenFile

From 3dbrew
Jump to navigation Jump to search

Request

Index Word Description
0
Header 0x080201C2 Cmd 0x0802 Param 7 Xlat 2
1 Transaction (usually 0)
2-3 u64, Archive Handle
4 Path Type
5 Path Size (including null-terminator)
6 Open Flags
7 Attributes (usually 0)
8 Descriptor for static buffer (id 0)
9 Path Data Pointer

Response

Index Word Description
10 Header code
11 Result code
12 Descriptor for moving 1 handle
13 File client session handle