1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<html> 3 4<head> 5<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 6<META http-equiv="Content-Style-Type" content="text/css"> 7<LINK rel="stylesheet" type="text/css" href="../../CSS/revolution.css"> 8<title>OSReturnToSetting</title> 9</head> 10 11<body> 12 13<h1>OSReturnToSetting</h1> 14 15 16<h2>C Specification</h2> 17 18<dl> 19 <dd><pre><code>#include <revolution/os.h> 20 21#define OS_SETTING_CALENDAR 1u 22#define OS_SETTING_DISPLAY 2u 23#define OS_SETTING_SOUND 3u 24#define OS_SETTING_PARENTAL 4u 25#define OS_SETTING_INTERNET 5u 26#define OS_SETTING_WC24 6u 27#define OS_SETTING_UPDATE 7u 28 29void OSReturnToSetting(u8 setting);</code></pre></dd> 30</dl> 31 32<h2>Arguments</h2> 33<table border="1" cellpadding="3" cellspacing="0.1"> 34 <tr> 35<td width="120" bgcolor="#ffffe8"><i><b><code>setting</code></b></i></td> 36<td width="520">The System Settings screen to which to transition.</td> 37 </tr> 38</table> 39 40<h2>Return Values</h2> 41<P>None.</P> 42 43<h2>Description</h2> 44<P>The <CODE>OSReturnToSetting</CODE> function ends the currently running application and transitions to the System Settings screen in the Wii Menu.</P> 45 46<P>When calling this function, you must be aware of the precautions indicated in <A>Reset and Shutdown Functions</A>.</P> 47 48<table border="1" cellpadding="3" cellspacing="0.1"> 49 <tbody> 50 <tr> 51<td width="30%" valign="middle" bgcolor="#C0C0C0"><strong>Arguments</strong></td> 52<td width="*" valign="middle" bgcolor="#C0C0C0"><strong>Settings screen</strong></td> 53 </tr> 54 <tr> 55<td width="30%"><code>OS_SETTING_CALENDAR</code></td> 56<td width="*" >Calendar Settings</td> 57 </tr> 58 <tr> 59<td width="30%"><code>OS_SETTING_DISPLAY</code></td> 60<td width="*" >Screen Settings</td> 61 </tr> 62 <tr> 63<td width="30%"><code>OS_SETTING_SOUND</code></td> 64<td width="*" >Sound Settings</td> 65 </tr> 66 <tr> 67<td width="30%"><code>OS_SETTING_PARENTAL</code></td> 68<td width="*" >Parental Controls Settings</td> 69 </tr> 70 <tr> 71<td width="30%"><code>OS_SETTING_INTERNET</code></td> 72<td width="*" >Internet Settings</td> 73 </tr> 74 <tr> 75<td width="30%"><code>OS_SETTING_WC24</code></td> 76<td width="*" >WiiConnect24 Settings</td> 77 </tr> 78 <tr> 79<td width="30%"><code>OS_SETTING_UPDATE</code></td> 80<td width="*" >Wii System Update</td> 81 </tr> 82 </tbody> 83</table> 84 85<P><B>Note:</B> This function is valid for consoles with Wii Menu version 3.0 or later.</P> 86 87 88<h2>See Also</h2> 89<P><a target="contents" href="../toc.html#Reset">Reset and Shutdown Functions</a></P> 90 91<H2>Revision History</H2> 92<P>2007/09/04 Initial version.</P> 93 94<hr><p>CONFIDENTIAL</p></body> 95</html> 96