void OSLaunchManualViewer(const char* arg);
arg |
Pointer to the text string passed when Manual Viewer is executed. When the application starts after Manual Viewer exits, this text string is passed as the second argument (argv[1]) to the main function. The maximum length of this text string is 511 (including NULL terminator). |
None.
The OSLaunchManualViewer function executes Manual Viewer saved in Wii console NAND memory. If successful, control does not return from this function.
Because execution will move to an entirely separate application (Manual Viewer) when data has to be saved, always save the data before calling the OSLaunchManualViewer function.
It is possible to pass a text string (up to 511 characters, including null-termination) as an argument. When the application starts after the Manual Viewer exits, this text string is passed as the second argument to the main function. Because the argument is not passed to the main function when the application is started from the Wii menu, you can use process branching, for example, to move to a particular screen when returning from the Manual Viewer. If NULL has been given to the argument, then the argument is not passed to the main function and it is the same as starting from the Wii Menu. The OSSetSaveRegion function does not work with the OSLaunchManualViewer function.
The controllers will not be recalibrated during an execution sequence.
When calling this function, keep in mind the precautions in Reset and Shutdown Functions.
OSLaunchManualViewer is a function intended especially for WiiWare.
It cannot be used with disc applications.
2009/03/02 Explained the behavior when NULL is given to the argument.
2008/01/15 Added information about the NULL terminator.
2007/12/11 Mentioned that this is a WiiWare-specific function.
2007/12/05 Initial version.
CONFIDENTIAL