FRDU:GetEventNotification
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}}...")
RequestEdit
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
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 |
| ||||||||
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.