Function ctru_sys::srvRegisterService
source · pub unsafe extern "C" fn srvRegisterService(
out: *mut Handle,
name: *const c_char,
maxSessions: c_int
) -> Result
Expand description
Registers the current process as a service.
§Arguments
out
- Pointer to write the service handle to.name
- Name of the service.maxSessions
- Maximum number of sessions the service can handle.