Difference between revisions of "FS:OpenFile"
Jump to navigation
Jump to search
m (Use templates instead of table) |
|||
Line 1: | Line 1: | ||
=Request= | =Request= | ||
− | { | + | {{IPC/Request}} |
− | + | {{#vardefine:ipc_offset|0}} | |
− | + | {{IPC/RequestHeader|0x080201C2}} | |
− | + | {{IPC/RequestEntry|Transaction (usually 0)}} | |
− | + | {{IPC/RequestEntryRange|2|u64, Archive Handle}} | |
− | | 0 | + | {{IPC/RequestEntry|[[Filesystem_services#PathType|Path Type]]}} |
− | | | + | {{IPC/RequestEntry|Path Size (including null-terminator)}} |
− | + | {{IPC/RequestEntry|[[Filesystem_services#OpenFlags|Open Flags]]}} | |
− | + | {{IPC/RequestEntry|[[Filesystem_services#Attributes|Attributes]] (usually 0)}} | |
− | | Transaction (usually 0) | + | {{IPC/RequestEntry|(PathSize << 14) <nowiki>|</nowiki> 2}} |
− | + | {{IPC/RequestEntry|Path Data Pointer}} | |
− | | 2 | + | {{IPC/RequestEnd}} |
− | | u64, Archive Handle | ||
− | |||
− | |||
− | | [[Filesystem_services#PathType|Path Type]] | ||
− | |||
− | |||
− | | Path Size (including null-terminator) | ||
− | |||
− | |||
− | | [[Filesystem_services#OpenFlags|Open Flags]] | ||
− | |||
− | |||
− | | [[Filesystem_services#Attributes|Attributes]] (usually 0) | ||
− | |||
− | |||
− | | (PathSize << 14) <nowiki>|</nowiki> 2 | ||
− | |||
− | |||
− | | Path Data Pointer | ||
− | |||
=Response= | =Response= | ||
− | { | + | {{IPC/Request}} |
− | + | {{#vardefine:ipc_offset|0}} | |
− | + | {{IPC/RequestEntry|Header code}} | |
− | + | {{IPC/RequestEntry|Result code}} | |
− | + | {{IPC/RequestEntry|Move handle descriptor (0x10)}} | |
− | | 0 | + | {{IPC/RequestEntry|File client session handle}} |
− | | Header code | + | {{IPC/RequestEnd}} |
− | |||
− | |||
− | | Result code | ||
− | |||
− | |||
− | | Move handle descriptor (0x10) | ||
− | |||
− | |||
− | | File client session handle | ||
− |
Revision as of 23:27, 16 September 2024
Request
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Transaction (usually 0) | ||||||||
2-3 | u64, Archive Handle | ||||||||
4 | Path Type | ||||||||
5 | Path Size (including null-terminator) | ||||||||
6 | Open Flags | ||||||||
7 | Attributes (usually 0) | ||||||||
8 | (PathSize << 14) | 2 | ||||||||
9 | Path Data Pointer |
Response
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Move handle descriptor (0x10) |
3 | File client session handle |