NEWSS:AddNotification: Difference between revisions

No edit summary
Line 15: Line 15:
|-
|-
| 3
| 3
| JPEG buffer size, can be zero
| Image buffer size, can be zero
|-
|-
| 4
| 4
Line 30: Line 30:
|-
|-
| 8
| 8
| (JPEGSize<<4)  <nowiki>|</nowiki> 10
| (ImageSize<<4)  <nowiki>|</nowiki> 10
|-
|-
| 9
| 9
| JPEG buffer ptr, can be 0x0
| Image buffer ptr, can be 0x0
|}
|}


Line 73: Line 73:
This is an UTF-16 string for the notification message text, this buffer includes the null-terminator.
This is an UTF-16 string for the notification message text, this buffer includes the null-terminator.


=JPEG=
=Image=
The JPEG data is optional. The JPEG is displayed within the notification in the notification applet.
The MPO data is optional. This is displayed on the top-screen by the notifications applet.


=Response=
=Response=
Line 90: Line 90:


=Description=
=Description=
This adds a notification to the list of notifications, which is displayed by the notifications applet.
This adds a notification to the list of notifications, which is displayed by the notifications applet. This is added to the end of the list of notifications.