FS:CreateDirectory: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Steveice10 (talk | contribs)
m Use common types.
ElementW (talk | contribs)
Convert to IPC templates
 
Line 1: Line 1:
=Request=
=Request=
{| class="wikitable" border="1"
{{IPC/Request|Request}}
|-
{{IPC/RequestHeader|0x0809|6|2}}
!  Index Word
{{IPC/RequestEntry|Transaction (usually 0)}}
!  Description
{{IPC/RequestEntryRange|2|u64, Archive Handle}}
|-
{{IPC/RequestEntry|[[Filesystem_services#PathType|Path Type]]}}
| 0
{{IPC/RequestEntry|Path Size (including null-terminator)}}
| Header code [0x08090182]
{{IPC/RequestEntry|[[Filesystem_services#Attributes|Attributes]] (usually 0)}}
|-
{{IPC/TranslateStaticBuffer|Path Data Pointer|0}}
| 1
{{IPC/RequestEnd}}
| Transaction (usually 0)
|-
| 2-3
| u64, Archive Handle
|-
| 4
| [[Filesystem_services#PathType|Path Type]]
|-
| 5
| Path Size
|-
| 6
| [[Filesystem_services#Attributes|Attributes]] (usually 0)
|-
| 7
| (PathSize << 14)  <nowiki>|</nowiki> 2
|-
| 8
| Path Data Pointer
|}


=Response=
=Response=
{| class="wikitable" border="1"
{{IPC/Request|Response}}
|-
{{IPC/RequestHeader|0x0809|1|0}}
!  Index Word
{{IPC/RequestEntry|Result code}}
!  Description
{{IPC/RequestEnd}}
|-
| 0
| Header code
|-
| 1
| Result code
|}

Latest revision as of 22:45, 17 September 2024

Request

Request Word Description
0
Header 0x08090182 Cmd 0x0809 Param 6 Xlat 2
1 Transaction (usually 0)
2-3 u64, Archive Handle
4 Path Type
5 Path Size (including null-terminator)
6 Attributes (usually 0)
7 Descriptor for static buffer (id 0)
8 Path Data Pointer

Response

Response Word Description
0
Header 0x08090040 Cmd 0x0809 Param 1 Xlat 0
1 Result code