FRDU:GetEventNotification

RequestEdit

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

Request Static BuffersEdit

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

ResponseEdit

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

DescriptionEdit

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.