Difference between revisions of "SRV:EnableNotification"

From 3dbrew
Jump to navigation Jump to search
m (moved SRV:GetNotificationSemaphore to SRV:EnableNotification: Name according to BPB.)
 
(3 intermediate revisions by 2 users not shown)
Line 20: Line 20:
 
| 1
 
| 1
 
| Result code
 
| Result code
 +
|-
 +
| 2
 +
| {{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 15: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.