Difference between revisions of "FS:CreateDirectory"

From 3dbrew
Jump to navigation Jump to search
m (Use common types.)
Line 11: Line 11:
 
| Transaction (usually 0)
 
| Transaction (usually 0)
 
|-
 
|-
| 2
+
| 2-3
| Archive handle lower word
+
| u64, Archive Handle
|-
 
| 3
 
| Archive handle upper word
 
 
|-
 
|-
 
| 4
 
| 4
| [[FS:OpenFile|Dir]] LowPath.Type
+
| [[Filesystem_services#PathType|Path Type]]
 
|-
 
|-
 
| 5
 
| 5
| Dir LowPath.Size
+
| Path Size
 
|-
 
|-
 
| 6
 
| 6
| Always zero?
+
| [[Filesystem_services#Attributes|Attributes]] (usually 0)
 
|-
 
|-
 
| 7
 
| 7
| (Dir LowPath.Size<<14)  <nowiki>|</nowiki> 2
+
| (PathSize << 14)  <nowiki>|</nowiki> 2
 
|-
 
|-
 
| 8
 
| 8
| Dir LowPath.Data pointer
+
| Path Data Pointer
 
|}
 
|}
  
Line 43: Line 40:
 
|-
 
|-
 
| 1
 
| 1
| Resultcode
+
| Result code
 
|}
 
|}

Revision as of 20:22, 17 October 2015

Request

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

Response

Index Word Description
0 Header code
1 Result code