CECDU:OpenAndRead
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x00120104] |
| 1 | buffer size (unused) |
| 2 | NCCH Program ID |
| 3 | Path type |
| 4 | file open flag? |
| 5 | Descriptor for process ID |
| 6 | Placeholder for process ID |
| 7 | Descriptor for mapping a write-only buffer in the target process |
| 8 | buffer address |
Response
| Index Word | Description |
|---|---|
| 0 | Header code [0x00120082] |
| 1 | Result code |
| 2 | Total bytes read |
| 3 | Descriptor for mapping a write-only buffer in the target process |
| 4 | buffer address |