Difference between revisions of "BOSSU:RegisterNewArrivalEvent"

From 3dbrew
Jump to navigation Jump to search
(Use IPC template header)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
=Request=
 
=Request=
 
{{IPC/Request}}
 
{{IPC/Request}}
{{#vardefine:ipc_offset|0}}
+
{{IPC/RequestHeader|0x0008|0|2}}
{{IPC/RequestEntry|Header code [0x00080002]}}
+
{{IPC/CopyHandle|1}}
{{IPC/RequestEntry|KEvent event}}
+
{{IPC/CopyHandleEntry|KEvent event}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
  
Line 9: Line 9:
 
{{IPC/Request}}
 
{{IPC/Request}}
 
{{#vardefine:ipc_offset|0}}
 
{{#vardefine:ipc_offset|0}}
{{IPC/RequestEntry|Header code}}
+
{{IPC/RequestHeader|0x0008|1|0}}
 
{{IPC/RequestEntry|Result code}}
 
{{IPC/RequestEntry|Result code}}
 
{{IPC/RequestEnd}}
 
{{IPC/RequestEnd}}
 +
 +
=Description=
 +
This registers the provided event to be signaled when new content arrives to the program ID of the current session. The event is stored in a global table with up to 5 entries, and distinguishes between user and privileged events.

Latest revision as of 16:03, 1 February 2025

Request[edit]

Index Word Description
0
Header 0x00080002 Cmd 0x0008 Param 0 Xlat 2
1 Descriptor for copying 1 handle
2 KEvent event

Response[edit]

Index Word Description
0
Header 0x00080040 Cmd 0x0008 Param 1 Xlat 0
1 Result code

Description[edit]

This registers the provided event to be signaled when new content arrives to the program ID of the current session. The event is stored in a global table with up to 5 entries, and distinguishes between user and privileged events.