wut  v1.7.0
Wii U Toolchain
Macros | Functions
Launch
Collaboration diagram for Launch:

Macros

#define OS_TITLE_ID_COLDBOOT   0xFFFFFFFFFFFFFFFDllu
 Magic title ID used for launching the current coldboot title. More...
 
#define OS_TITLE_ID_REBOOT   0xFFFFFFFFFFFFFFFEllu
 Magic title ID used for triggering a full system reboot. More...
 

Functions

void OSForceFullRelaunch ()
 Forces a OS relaunch on the next title launch. More...
 
void OSRestartGame (int argc, char *argv[])
 Restarts the currently running title. More...
 
BOOL OSShutdown ()
 Shuts down the system. More...
 
void OSLaunchTitleByPathl (const char *path, uint32_t pathSize, int argc,...)
 Launches a title by path. More...
 
void OSLaunchTitleByPathv (const char *path, uint32_t pathSize, int argc, char *argv[])
 Launches a title by path. More...
 
void OSLaunchTitlel (uint64_t titleId, int argc,...)
 Launches a title by its title ID. More...
 
void OSLaunchTitlev (uint64_t titleId, int argc, char *argv[])
 Launches a title by its title ID. More...
 

Detailed Description

Macro Definition Documentation

◆ OS_TITLE_ID_COLDBOOT

#define OS_TITLE_ID_COLDBOOT   0xFFFFFFFFFFFFFFFDllu

Magic title ID used for launching the current coldboot title.

Definition at line 18 of file launch.h.

◆ OS_TITLE_ID_REBOOT

#define OS_TITLE_ID_REBOOT   0xFFFFFFFFFFFFFFFEllu

Magic title ID used for triggering a full system reboot.

Definition at line 23 of file launch.h.

Function Documentation

◆ OSForceFullRelaunch()

void OSForceFullRelaunch ( )

Forces a OS relaunch on the next title launch.

◆ OSRestartGame()

void OSRestartGame ( int  argc,
char *  argv[] 
)

Restarts the currently running title.

Parameters
argcThe amount of arguments in argv.
argvAn array of argument strings.

◆ OSShutdown()

BOOL OSShutdown ( )

Shuts down the system.

◆ OSLaunchTitleByPathl()

void OSLaunchTitleByPathl ( const char *  path,
uint32_t  pathSize,
int  argc,
  ... 
)

Launches a title by path.

Parameters
pathThe path to launch the title from.
pathSizeThe size of the path string.
argcThe amount of argument strings.
...Argument strings passed to the title as argv.
Note
Prefer using sysapp to launch titles instead.

◆ OSLaunchTitleByPathv()

void OSLaunchTitleByPathv ( const char *  path,
uint32_t  pathSize,
int  argc,
char *  argv[] 
)

Launches a title by path.

Parameters
pathThe path to launch the title from.
pathSizeThe size of the path string.
argcThe amount of arguments in argv.
argvAn array of argument strings.
Note
Prefer using sysapp to launch titles instead.

◆ OSLaunchTitlel()

void OSLaunchTitlel ( uint64_t  titleId,
int  argc,
  ... 
)

Launches a title by its title ID.

Parameters
titleIdThe ID of the title to launch.
argcThe amount of argument strings.
...Argument strings passed to the title as argv.
Note
Prefer using sysapp to launch titles instead.

◆ OSLaunchTitlev()

void OSLaunchTitlev ( uint64_t  titleId,
int  argc,
char *  argv[] 
)

Launches a title by its title ID.

Parameters
titleIdThe ID of the title to launch.
argcThe amount of arguments in argv.
argvAn array of argument strings.
Note
Prefer using sysapp to launch titles instead.