FS:OpenFile: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
ElementW (talk | contribs)
ElementW (talk | contribs)
Line 8: Line 8:
{{IPC/RequestEntry|[[Filesystem_services#OpenFlags|Open Flags]]}}
{{IPC/RequestEntry|[[Filesystem_services#OpenFlags|Open Flags]]}}
{{IPC/RequestEntry|[[Filesystem_services#Attributes|Attributes]] (usually 0)}}
{{IPC/RequestEntry|[[Filesystem_services#Attributes|Attributes]] (usually 0)}}
{{IPC/RequestEntry|(PathSize << 14)  <nowiki>|</nowiki> 2}}
{{IPC/TranslateStaticBuffer|Path Data Pointer|0}}
{{IPC/RequestEntry|Path Data Pointer}}
{{IPC/RequestEnd}}
{{IPC/RequestEnd}}



Revision as of 23:26, 17 September 2024

Request

Index Word Description
0
Header 0x080201C2 Cmd 0x0802 Param 7 Xlat 2
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

Index Word Description
0 Header code
1 Result code
2 Descriptor for moving 1 handle
3 File client session handle