libctru
v2.4.1
|
srv:pm service. More...
Go to the source code of this file.
Functions | |
Result | srvPmInit (void) |
Initializes srv:pm and the service API. | |
void | srvPmExit (void) |
Exits srv:pm and the service API. | |
Handle * | srvPmGetSessionHandle (void) |
Gets the current srv:pm session handle. More... | |
Result | SRVPM_PublishToProcess (u32 notificationId, Handle process) |
Publishes a notification to a process. More... | |
Result | SRVPM_PublishToAll (u32 notificationId) |
Publishes a notification to all processes. More... | |
Result | SRVPM_RegisterProcess (u32 pid, u32 count, const char(*serviceAccessControlList)[8]) |
Registers a process with SRV. More... | |
Result | SRVPM_UnregisterProcess (u32 pid) |
Unregisters a process with SRV. More... | |
srv:pm service.
Publishes a notification to all processes.
notificationId | ID of the notification. |
Publishes a notification to a process.
notificationId | ID of the notification. |
process | Process to publish to. |
Registers a process with SRV.
pid | ID of the process. |
count | Number of services within the service access control data. |
serviceAccessControlList | Service Access Control list. |
Unregisters a process with SRV.
pid | ID of the process. |
Handle* srvPmGetSessionHandle | ( | void | ) |
Gets the current srv:pm session handle.