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 arguments are not passed to the main function when the application is started from the Wii menu, it is possible to use process branching or a similar technique to move to a particular screen when returning from Manual Viewer.
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.
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