Difference between revisions of "FS:OpenFile"

From 3dbrew
Jump to navigation Jump to search
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 22: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
10 Header code
11 Result code
12 Descriptor for moving 1 handle
13 File client session handle