FS:OpenFileDirectly

From 3dbrew
Revision as of 23:35, 5 September 2016 by Neobrain (talk | contribs) (→‎Request)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x08030204]
1 Transaction (usually 0)
2 Archive ID
3 Archive Path Type
4 Archive Path Size (including null-terminator)
5 File Path Type
6 File Path Size (including null-terminator)
7 Open Flags
8 Attributes (usually 0)
9 (ArchivePathSize << 14) | 0x802
10 Archive Path Data Pointer
11 (FilePathSize << 14) | 2
12 File Path Data Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code
2 N/A
3 File client session handle