NEWSS:GetNotificationMessage: Difference between revisions
Jump to navigation
Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000C0082] |- | 1 | Notification ID |- | 2 | Max buffer size |- | 3 | (MaxSize<<4..." |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
|- | |- | ||
| 2 | | 2 | ||
| | | Size | ||
|- | |- | ||
| 3 | | 3 | ||
| ( | | (Size<<4) <nowiki>|</nowiki> 12 | ||
|- | |- | ||
| 4 | | 4 | ||
| | | Buffer ptr | ||
|} | |} | ||
| Line 32: | Line 32: | ||
| 1 | | 1 | ||
| Resultcode | | Resultcode | ||
|- | |||
| 2 | |||
| Actual read size from the .txt file. | |||
|} | |} | ||
=Description= | =Description= | ||
This | This reads the news-module .txt save-file for the specified notificationID, into the output buffer. | ||
The notifications applet uses hard-coded size 0x1780 for this. | |||
Latest revision as of 21:59, 12 December 2014
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x000C0082] |
| 1 | Notification ID |
| 2 | Size |
| 3 | (Size<<4) | 12 |
| 4 | Buffer ptr |
Response
| Index Word | Description |
|---|---|
| 0 | Header code |
| 1 | Resultcode |
| 2 | Actual read size from the .txt file. |
Description
This reads the news-module .txt save-file for the specified notificationID, into the output buffer.
The notifications applet uses hard-coded size 0x1780 for this.