OSReturnToSetting

Syntax

#include <revolution/os.h>

#define OS_SETTING_CALENDAR        1u
#define OS_SETTING_DISPLAY         2u
#define OS_SETTING_SOUND           3u
#define OS_SETTING_PARENTAL        4u
#define OS_SETTING_INTERNET        5u
#define OS_SETTING_WC24            6u
#define OS_SETTING_UPDATE          7u

void OSReturnToSetting(u8 setting);

Arguments

setting The System Settings screen to which to transition.

Return Values

None.

Description

The OSReturnToSetting function ends the currently running application and transitions to the System Settings screen in the Wii Menu.

When calling this function, you must be aware of the precautions indicated in Reset and Shutdown Functions.

Arguments Settings screen
OS_SETTING_CALENDAR Calendar Settings
OS_SETTING_DISPLAY Screen Settings
OS_SETTING_SOUND Sound Settings
OS_SETTING_PARENTAL Parental Controls Settings
OS_SETTING_INTERNET Internet Settings
OS_SETTING_WC24 WiiConnect24 Settings
OS_SETTING_UPDATE Wii System Update

Note: This function is valid for consoles with Wii Menu version 3.0 or later.

See Also

Reset and Shutdown Functions

Revision History

2007/09/04 Initial version.


CONFIDENTIAL