FS:OpenFileDirectly: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Neimod (talk | contribs)
No edit summary
Neimod (talk | contribs)
No edit summary
Line 27: Line 27:
|-
|-
| 7
| 7
| [[FS:OpenFile#Openflags|Openflags]]
| [[FS:OpenFile#OpenFlags|OpenFlags]]
|-
|-
| 8
| 8
| Attributes (usually 0)
| [[FS:OpenFile:#Attributes|Attributes]] (usually 0)
|-
|-
| 9
| 9
Line 62: Line 62:
| 3
| 3
| File handle
| File handle
|}
= Attributes =
{| class="wikitable" border="1"
|-
!  Flag
!  Description
|-
| 0x00000001
| Is Read-Only
|-
| 0x00000100
| Is Archive
|-
| 0x00010000
| Is Hidden
|-
| 0x01000000
| Is Directory
|}
|}

Revision as of 19:27, 20 April 2012

Request

Index Word Description
0 Header code [0x08030204]
1 Transaction (usually 0)
2 Archive idcode
3 Archive LowPath.Type
4 Archive LowPath.Size
5 File LowPath.Type
6 File LowPath.Size
7 OpenFlags
8 Attributes (usually 0)
9 (Archive LowPath.Size<<14) | 0x802
10 Archive LowPath.Data pointer
11 (File LowPath.Size<<14) | 2
12 File LowPath.Data pointer

Response

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