FS:OpenFileDirectly: Difference between revisions
Jump to navigation
Jump to search
m →Request |
No edit summary |
||
| Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Transaction (usually 0) | ||
|- | |- | ||
| 2 | | 2 | ||
| [[FS:OpenArchive|Archive]] | | [[FS:OpenArchive|Archive idcode]] | ||
|- | |- | ||
| 3 | | 3 | ||
| Line 30: | Line 30: | ||
|- | |- | ||
| 8 | | 8 | ||
| | | Attributes (usually 0) | ||
|- | |- | ||
| 9 | | 9 | ||
| Line 55: | Line 55: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Result code | ||
|- | |||
| 2 | |||
| N/A | |||
|- | |- | ||
| 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 16:56, 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 |
Attributes
| Flag | Description |
|---|---|
| 0x00000001 | Is Read-Only |
| 0x00000100 | Is Archive |
| 0x00010000 | Is Hidden |
| 0x01000000 | Is Directory |