Difference between revisions of "FS:OpenFileDirectly"

From 3dbrew
Jump to navigation Jump to search
 
Line 18: Line 18:
 
|-
 
|-
 
| 4
 
| 4
| Archive Path Size
+
| Archive Path Size (including null-terminator)
 
|-
 
|-
 
| 5
 
| 5
Line 24: Line 24:
 
|-
 
|-
 
| 6
 
| 6
| File Path Size
+
| File Path Size (including null-terminator)
 
|-
 
|-
 
| 7
 
| 7

Latest revision as of 22:35, 5 September 2016

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