Function psp::sys::sceKernelLoadModuleBufferUsbWlan
source · [−]#[no_mangle]
pub unsafe extern "C" fn sceKernelLoadModuleBufferUsbWlan(
buf_size: usize,
buf: *mut c_void,
flags: i32,
option: *mut SceKernelLMOption
) -> SceUidExpand description
Load a module from a buffer using the USB/WLAN API.
Can only be called from kernel mode, or from a thread that has attributes
of 0xa0000000.
Parameters
buf_size: Size (in bytes) of the buffer pointed to by buf.buf: Pointer to a buffer containing the module to load. The buffer must reside at an address that is a multiple of 64 bytes.flags: Unused, always 0.option: Pointer to an optionalSceKernelLMOptionstructure.
Return Value
The UID of the loaded module on success, otherwise one of KernelErrorCodes.