Difference between revisions of "FSPXI:WriteFile"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000B0182] |- | 1 | File handle lower word |- | 2 | File handle upper word |- | 3...")
 
(Swapped order of size and flush flags)
 
(One intermediate revision by one other user not shown)
Line 21: Line 21:
 
|-
 
|-
 
| 5
 
| 5
| Flush flags
+
| Size
 
|-
 
|-
 
| 6
 
| 6
| Size
+
| Flush flags
 
|-
 
|-
 
| 7
 
| 7
Line 30: Line 30:
 
|-
 
|-
 
| 8
 
| 8
| Output buffer
+
| Input buffer
 
|}
 
|}
  

Latest revision as of 15:33, 5 June 2022

Request[edit]

Index Word Description
0 Header code [0x000B0182]
1 File handle lower word
2 File handle upper word
3 Offset lower word
4 Offset upper word
5 Size
6 Flush flags
7 (Size << 8) | 6
8 Input buffer

Response[edit]

Index Word Description
0 Header code
1 Result code
2 Size written
3 4