//Pascal &or the FreePascal use of nintendo 2ds, 3ds regime // // Copyright (c) 2013, 2015, 2017 Kenneth Dwayne Lee Bsc. // all rights reserved. // {/ Initializes srv:pm. } function srvPmInit:s32;cdecl;external; {/ Exits srv:pm. } procedure srvPmExit;cdecl;external; {* * @brief Publishes a notification to a process. * @param notificationId ID of the notification. * @param process Process to publish to. } function SRVPM_PublishToProcess(notificationId:u32; process:Handle):s32;cdecl;external; {* * @brief Publishes a notification to all processes. * @param notificationId ID of the notification. } function SRVPM_PublishToAll(notificationId:u32):s32;cdecl;external; {* * @brief Registers a process with SRV. * @param procid ID of the process. * @param count Number of services within the service access control data. * @param serviceaccesscontrol Service Access Control list. } function SRVPM_RegisterProcess(procid:u32; count:u32; serviceaccesscontrol:pointer):s32;cdecl;external; {* * @brief Unregisters a process with SRV. * @param procid ID of the process. } function SRVPM_UnregisterProcess(procid:u32):s32;cdecl;external;