Difference between revisions of "CECDS:SprGetSendSlotsMetadata"
Jump to navigation
Jump to search
m (→Request) |
|||
Line 2: | Line 2: | ||
{{IPC/Request}} | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | {{#vardefine:ipc_offset|0}} | ||
− | {{IPC/ | + | {{IPC/RequestHeader|0x040C|1|2}} |
{{IPC/RequestEntry|buffer size}} | {{IPC/RequestEntry|buffer size}} | ||
{{IPC/MapPointerW|buffer address}} | {{IPC/MapPointerW|buffer address}} |
Latest revision as of 20:48, 16 March 2025
Request[edit]
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | buffer size | ||||||||
2 | Descriptor for mapping a write-only buffer in the target process | ||||||||
3 | buffer address |
Response[edit]
Index Word | Description |
---|---|
0 | Header code |
1 | Result code |
2 | Amount of slots read |
Description[edit]
This copies the metadata for all slots that need to be sent into the specified buffer.
Each metadata object consists out of a tuple of three words: send method
, title_id
, size
whereas the size is the size in bytes of the corresponding spr slot. Copies up to buffer size / (4*3)
slots into the buffer.
Returns the amount of slots read, not the amount of bytes read.
Requires the Cec Spr Status to be CEC_SPR_SEND_READY
.