Difference between revisions of "NEWSS:GetNotificationHeader"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000100C6] |- | 1 | Notification ID |- | 2 | Header buffer size |- | 3 | (HdrSize...")
 
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
|-
 
|-
 
| 0
 
| 0
| Header code [0x000100C6]
+
| Header code [0x000B0082]
 
|-
 
|-
 
| 1
 
| 1
Line 32: Line 32:
 
| 1
 
| 1
 
| Resultcode
 
| Resultcode
 +
|-
 +
| 2
 +
| Actual copied size.
 
|}
 
|}
  
 
=Description=
 
=Description=
This writes the [[NEWSS:AddNotification|header]] structure for the specified notification, to the output buffer.
+
This writes the [[NEWSS:AddNotification|header]] structure for the specified notification, to the output buffer. The max size is 0x70-bytes.
 +
 
 +
This does additional processing with the output buffer after copying the data there, see [[NEWSS:AddNotification|here]].

Latest revision as of 19:18, 12 December 2014

Request[edit]

Index Word Description
0 Header code [0x000B0082]
1 Notification ID
2 Header buffer size
3 (HdrSize<<4) | 12
4 Header buffer ptr

Response[edit]

Index Word Description
0 Header code
1 Resultcode
2 Actual copied size.

Description[edit]

This writes the header structure for the specified notification, to the output buffer. The max size is 0x70-bytes.

This does additional processing with the output buffer after copying the data there, see here.