Difference between revisions of "SRV:EnableNotification"

From 3dbrew
Jump to navigation Jump to search
(0x20 obviously didn't make any sense there. Just meant to explicitly document the translation descriptor)
 
(One intermediate revision by one other user not shown)
Line 22: Line 22:
 
|-
 
|-
 
| 2
 
| 2
| {{IPC/TranslationDescriptor|???}}
+
| {{IPC/TranslationDescriptor|Copy handle 0x0}}
 
|-
 
|-
 
| 3
 
| 3
 
| Handle to semaphore signaled on process notification
 
| Handle to semaphore signaled on process notification
 
|}
 
|}
 +
 +
=Description=
 +
This creates and returns a semaphore handle which is released each time a notification is sent to the process.
 +
 +
Called from processes launched directly by the kernel, this also registers the process with an empty (and anyways irrelevant) service access control list.

Latest revision as of 16:39, 29 July 2017

Request[edit]

Index Word Description
0 Header code [0x00020000]

Response[edit]

Index Word Description
0 Header code
1 Result code
2 Translation descriptor: Copy handle 0x0
3 Handle to semaphore signaled on process notification

Description[edit]

This creates and returns a semaphore handle which is released each time a notification is sent to the process.

Called from processes launched directly by the kernel, this also registers the process with an empty (and anyways irrelevant) service access control list.