Loader services: Difference between revisions
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
|} | |} | ||
== | == SetProgramArgument == | ||
Takes a type-0x9 input buffer with launch arguments (as string), an u32 (size of arguments string), and an input title-id. | Takes a type-0x9 input buffer with launch arguments (as string), an u32 (size of arguments string), and an input title-id. | ||
Line 17: | Line 17: | ||
Loaded processes are kept in a queue waiting for PM to launch them. The maximum number of waiting processes in this list is 10. | Loaded processes are kept in a queue waiting for PM to launch them. The maximum number of waiting processes in this list is 10. | ||
== | == FlushArguments == | ||
Clears the loaded processes waiting queue. | Clears the loaded processes waiting queue. | ||
Line 35: | Line 35: | ||
|} | |} | ||
== GetProcessModuleInfo== | == GetProcessModuleInfo == | ||
Takes in a u64 Process ID, and a C descriptor out array of [[#ModuleInfos]]. Returns the number of ModuleInfos copied to output. | Takes in a u64 Process ID, and a C descriptor out array of [[#ModuleInfos]]. Returns the number of ModuleInfos copied to output. | ||