Difference between revisions of "FS:OpenFileDirectly"

From 3dbrew
Jump to navigation Jump to search
 
(4 intermediate revisions by 3 users not shown)
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 (including null-terminator)
 
|-
 
|-
 
| 5
 
| 5
| [[FS:OpenFile|File]] LowPath.Type
+
| [[Filesystem_services#PathType|File Path Type]]
 
|-
 
|-
 
| 6
 
| 6
| File LowPath.Size
+
| File Path Size (including null-terminator)
 
|-
 
|-
 
| 7
 
| 7
| [[FS:OpenFile#Openflags|Openflags]]
+
| [[Filesystem_services#OpenFlags|Open Flags]]
 
|-
 
|-
 
| 8
 
| 8
| 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 client session handle
|}
 
 
 
= Attributes =
 
{| class="wikitable" border="1"
 
|-
 
!  Flag
 
!  Description
 
|-
 
| 0x00000001
 
| Is Read-Only
 
|-
 
| 0x00000100
 
| Is Archive
 
|-
 
| 0x00010000
 
| Is Hidden
 
|-
 
| 0x01000000
 
| Is Directory
 
 
|}
 
|}

Latest revision as of 22:35, 5 September 2016

Request[edit]

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

Index Word Description
0 Header code
1 Result code
2 N/A
3 File client session handle