Function psp::sys::sceKernelStopModule

source ·
#[no_mangle]
pub unsafe extern "C" fn sceKernelStopModule(
    mod_id: SceUid,
    arg_size: usize,
    argp: *mut c_void,
    status: *mut i32,
    option: *mut SceKernelSMOption
) -> i32
Expand description

Stop a running module.

§Parameters

  • mod_id: The UID of the module to stop.
  • arg_size: The length of the arguments pointed to by argp.
  • argp: Pointer to arguments to pass to the module’s module_stop routine.
  • status: Return value of the module’s module_stop routine.
  • option: Pointer to an optional SceKernelSMOption structure.

§Return Value

??? on success, otherwise one of KernelErrorCodes.