libctru
v2.4.1
|
LOADER Service. More...
Go to the source code of this file.
Functions | |
Result | loaderInit (void) |
Initializes LOADER. | |
void | loaderExit (void) |
Exits LOADER. | |
Result | LOADER_LoadProcess (Handle *process, u64 programHandle) |
Loads a program and returns a process handle to the newly created process. More... | |
Result | LOADER_RegisterProgram (u64 *programHandle, const FS_ProgramInfo *programInfo, const FS_ProgramInfo *programInfoUpdate) |
Registers a program (along with its update). More... | |
Result | LOADER_UnregisterProgram (u64 programHandle) |
Unregisters a program (along with its update). More... | |
Result | LOADER_GetProgramInfo (ExHeader_Info *exheaderInfo, u64 programHandle) |
Retrives a program's main NCCH extended header info (SCI + ACI, see ExHeader_Info). More... | |
LOADER Service.
Result LOADER_GetProgramInfo | ( | ExHeader_Info * | exheaderInfo, |
u64 | programHandle | ||
) |
Retrives a program's main NCCH extended header info (SCI + ACI, see ExHeader_Info).
[out] | exheaderInfo | Pointer to output the main NCCH extended header info. |
programHandle | The handle of the program to unregister |
Loads a program and returns a process handle to the newly created process.
[out] | process | Pointer to output the process handle to. |
programHandle | The handle of the program to load. |
Result LOADER_RegisterProgram | ( | u64 * | programHandle, |
const FS_ProgramInfo * | programInfo, | ||
const FS_ProgramInfo * | programInfoUpdate | ||
) |
Registers a program (along with its update).
[out] | programHandle | Pointer to output the program handle to. |
programInfo | The program info. | |
programInfo | The program update info. |