FRDU:GetEventNotification: Difference between revisions
Jump to navigation
Jump to search
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}}..." |
(No difference)
|
Latest revision as of 17:05, 14 December 2024
Request
| Index Word | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| 0 |
| ||||||||
| 1 | Count |
Request Static Buffers
| Index Word | Description |
|---|---|
| 0 | Descriptor for static buffer (id 0) |
| 1 | Output EventNotification buffer |
Response
| 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 |
Description
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.