FRDU:GetEventNotification

From 3dbrew
Revision as of 17:05, 14 December 2024 by TimmSkiller (talk | contribs) (Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0022|1|0}} {{IPC/RequestEntry|Count}} {{IPC/RequestEnd}} =Request Static Buffers= {{IPC/Request}} {{#vardefine:ipc_offset|0}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x00220040 Cmd 0x0022 Param 1 Xlat 0
1 Count

Request Static Buffers[edit]

Index Word Description
0 Descriptor for static buffer (id 0)
1 Output EventNotification buffer

Response[edit]

Index Word Description
0
Header 0x002200C2 Cmd 0x0022 Param 3 Xlat 2
1 Result code
2 bool, overflow (see description)
3 u32, Number of read entries
4 Descriptor for static buffer (id 0)
5 Output EventNotification buffer

Description[edit]

Retrieves EventNotification entries (See Notification Events for details).

The overflow bool in the response returns whether or not the internal notification list has flowed past 128 entries (the maximum internal amount). In case of overflow, the offset of the last retrieved entry is subtracted by 128 so further processing can continue normally. This occurs when the client doesn't retrieve the notifications in time.

Internally, this command advances the offset of the last retrieved entry by Count or the amount of remaining entries, whichever is smaller.