Function psp::sys::sceKernelLoadModuleByID

source ·
#[no_mangle]
pub unsafe extern "C" fn sceKernelLoadModuleByID(
    fid: SceUid,
    flags: i32,
    option: *mut SceKernelLMOption
) -> SceUid
Expand description

Load a module from the given file UID.

§Parameters

  • fid: The module’s file UID.
  • flags: Unused, always 0.
  • option: Pointer to an optional SceKernelLMOption structure.

§Return Value

The UID of the loaded module on success, otherwise one of KernelErrorCodes.