Difference between revisions of "FS:OpenDirectory"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x080B0102] |- | 1 | Archive handle lower word |- | 2 | Archive handle upper word ...")
 
m (Use common types.)
 
Line 8: Line 8:
 
| Header code [0x080B0102]
 
| Header code [0x080B0102]
 
|-
 
|-
| 1
+
| 1-2
| Archive handle lower word
+
| u64, Archive Handle
|-
 
| 2
 
| Archive handle upper word
 
 
|-
 
|-
 
| 3
 
| 3
| [[FS:OpenFile|Dir]] LowPath.Type
+
| [[Filesystem_services#PathType|Path Type]]
 
|-
 
|-
 
| 4
 
| 4
| Dir LowPath.Size
+
| Path Size
 
|-
 
|-
 
| 5
 
| 5
| (Dir LowPath.Size<<14)  <nowiki>|</nowiki> 2
+
| (PathSize << 14)  <nowiki>|</nowiki> 2
 
|-
 
|-
 
| 6
 
| 6
| Dir LowPath.Data pointer
+
| Path Data Pointer
 
|}
 
|}
  
Line 37: Line 34:
 
|-
 
|-
 
| 1
 
| 1
| Resultcode
+
| Result code
 
|-
 
|-
 
| 3
 
| 3
| Dir handle
+
| Directory Handle
 
|}
 
|}

Latest revision as of 20:16, 17 October 2015

Request[edit]

Index Word Description
0 Header code [0x080B0102]
1-2 u64, Archive Handle
3 Path Type
4 Path Size
5 (PathSize << 14) | 2
6 Path Data Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code
3 Directory Handle