Difference between revisions of "FS:OpenFile"

From 3dbrew
Jump to navigation Jump to search
m (Use common types.)
 
(2 intermediate revisions by 2 users not shown)
Line 18: Line 18:
 
|-
 
|-
 
| 5
 
| 5
| Path Size
+
| Path Size (including null-terminator)
 
|-
 
|-
 
| 6
 
| 6
Line 44: Line 44:
 
| 1
 
| 1
 
| Result code
 
| Result code
 +
|-
 +
| 2
 +
| Move handle descriptor (0x10)
 
|-
 
|-
 
| 3
 
| 3
| File Handle
+
| File client session handle
 
|}
 
|}

Latest revision as of 22:35, 5 September 2016

Request[edit]

Index Word Description
0 Header code [0x080201C2]
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 (PathSize << 14) | 2
9 Path Data Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code
2 Move handle descriptor (0x10)
3 File client session handle