Function ctru_sys::srvGetServiceHandleDirect
source · pub unsafe extern "C" fn srvGetServiceHandleDirect(
out: *mut Handle,
name: *const c_char
) -> Result
Expand description
Retrieves a service handle.
§Arguments
out
- Pointer to output the handle to.name
- Name of the service.§Returns
0 if no error occured, 0xD8E06406 if the caller has no right to access the service, 0xD0401834 if the requested service port is full and srvGetServiceHandle is non-blocking (see srvSetBlockingPolicy).