Difference between revisions of "FS:OpenFile"
Jump to navigation
Jump to search
(Header code for response, use new Template:IPC/MoveHandleEntry) |
|||
Line 1: | Line 1: | ||
=Request= | =Request= | ||
− | {{IPC/Request}} | + | {{IPC/Request|Request}} |
{{IPC/RequestHeader|0x0802|7|2}} | {{IPC/RequestHeader|0x0802|7|2}} | ||
{{IPC/RequestEntry|Transaction (usually 0)}} | {{IPC/RequestEntry|Transaction (usually 0)}} | ||
Line 12: | Line 12: | ||
=Response= | =Response= | ||
− | {{IPC/Request}} | + | {{IPC/Request|Response}} |
− | {{IPC/ | + | {{IPC/RequestHeader|0x0802|1|3}} |
{{IPC/RequestEntry|Result code}} | {{IPC/RequestEntry|Result code}} | ||
{{IPC/MoveHandle|1}} | {{IPC/MoveHandle|1}} | ||
− | {{IPC/ | + | {{IPC/MoveHandleEntry|File client session handle}} |
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} |
Revision as of 22:49, 17 September 2024
Request
Request 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 | Descriptor for static buffer (id 0) | ||||||||
9 | Path Data Pointer |
Response
Response Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code | ||||||||
2 | Descriptor for moving 1 handle | ||||||||
3 | File client session handle |