Difference between revisions of "FS:OpenFileDirectly"

From 3dbrew
Jump to navigation Jump to search
m (Use common types.)
Line 12: Line 12:
 
|-
 
|-
 
| 2
 
| 2
| [[FS:OpenArchive|Archive idcode]]
+
| [[Filesystem_services#ArchiveId|Archive ID]]
 
|-
 
|-
 
| 3
 
| 3
| Archive LowPath.Type
+
| [[Filesystem_services#PathType|Archive Path Type]]
 
|-
 
|-
 
| 4
 
| 4
| Archive LowPath.Size
+
| Archive Path Size
 
|-
 
|-
 
| 5
 
| 5
| [[FS:OpenFile|File]] LowPath.Type
+
| [[Filesystem_services#PathType|File Path Type]]
 
|-
 
|-
 
| 6
 
| 6
| File LowPath.Size
+
| File Path Size
 
|-
 
|-
 
| 7
 
| 7
| [[FS:OpenFile#OpenFlags|OpenFlags]]
+
| [[Filesystem_services#OpenFlags|Open Flags]]
 
|-
 
|-
 
| 8
 
| 8
| [[FS:OpenFile#Attributes|Attributes]] (usually 0)
+
| [[Filesystem_services#Attributes|Attributes]] (usually 0)
 
|-
 
|-
 
| 9
 
| 9
| (Archive LowPath.Size<<14)  <nowiki>|</nowiki> 0x802
+
| (ArchivePathSize << 14)  <nowiki>|</nowiki> 0x802
 
|-
 
|-
 
| 10
 
| 10
| Archive LowPath.Data pointer
+
| Archive Path Data Pointer
 
|-
 
|-
 
| 11
 
| 11
| (File LowPath.Size<<14)  <nowiki>|</nowiki> 2
+
| (FilePathSize << 14)  <nowiki>|</nowiki> 2
 
|-
 
|-
 
| 12
 
| 12
| File LowPath.Data pointer
+
| File Path Data Pointer
 
|}
 
|}
  
Line 61: Line 61:
 
|-
 
|-
 
| 3
 
| 3
| File handle
+
| File Handle
 
|}
 
|}

Revision as of 20:06, 17 October 2015

Request

Index Word Description
0 Header code [0x08030204]
1 Transaction (usually 0)
2 Archive ID
3 Archive Path Type
4 Archive Path Size
5 File Path Type
6 File Path Size
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

Index Word Description
0 Header code
1 Result code
2 N/A
3 File Handle