Difference between revisions of "CECDU:OpenRawFile"

From 3dbrew
Jump to navigation Jump to search
(typo)
(use new template)
 
Line 1: Line 1:
 
=Request=
 
=Request=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestEntry|Header code [0x000100C2]}}
!  Description
+
{{IPC/RequestEntry|NCCH Program ID}}
|-
+
{{IPC/RequestEntry|[[CECD_Services#CecDataPathType|Path type]]}}
| 0
+
{{IPC/RequestEntry|1=file open flag (0x2=R, 0x4=W, ...)}}
| Header code [0x000100C2]
+
{{IPC/ProcessID}}
|-
+
{{IPC/RequestEnd}}
| 1
 
| NCCH Program ID
 
|-
 
| 2
 
| [[CECD_Services#CecDataPathType|Path type]]
 
|-
 
| 3
 
| file open flag? (0x2=R, 0x4=W, ...)  
 
|-
 
| 4
 
| [[IPC#Handle_Translation|Process ID descriptor]]
 
|-
 
| 5
 
| Place holder for Process ID
 
|}
 
  
 
=Response=
 
=Response=
{| class="wikitable" border="1"
+
{{IPC/Request}}
|-
+
{{#vardefine:ipc_offset|0}}
!  Index Word
+
{{IPC/RequestEntry|Header code [0x00010080]}}
!  Description
+
{{IPC/RequestEntry|Result code}}
|-
+
{{IPC/RequestEntry|File size?}}
| 0
+
{{IPC/RequestEnd}}
| Header code [0x00010080]
 
|-
 
| 1
 
| Result code
 
|-
 
| 2
 
| File size?
 
|-
 
|}
 

Latest revision as of 03:54, 10 September 2016

Request[edit]

Index Word Description
0 Header code [0x000100C2]
1 NCCH Program ID
2 Path type
3 file open flag (0x2=R, 0x4=W, ...)
4 Descriptor for process ID
5 Placeholder for process ID

Response[edit]

Index Word Description
0 Header code [0x00010080]
1 Result code
2 File size?