1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 22 span.virtual_style 23 { 24 font-size : 8pt; 25 color : white; 26 font-weight : bold; 27 background : #0a0; 28 border-left : solid 1px #0f0; 29 border-top : solid 1px #0f0; 30 border-right : solid 1px #060; 31 border-bottom : solid 1px #060; 32 padding-left : 2px; 33 padding-right : 2px; 34 } 35 36 span.protected_style 37 { 38 font-size : 8pt; 39 color : white; 40 font-weight : bold; 41 background : #444; 42 border-left : solid 1px #ccc; 43 border-top : solid 1px #ccc; 44 border-right : solid 1px #222; 45 border-bottom : solid 1px #222; 46 padding-left : 2px; 47 padding-right : 2px; 48 } 49 --></style> 50<title>nn::erreula::CTR::Config</title> 51 </head> 52 <body> 53<h1><CODE><a href="../../../../nn/Overview.html">nn</a>::<a href="../../../../nn/erreula/Overview.html">erreula</a>::<a href="../../../../nn/erreula/CTR/Overview.html">CTR</a>::Config</CODE> Structure</h1> 54<h2>Syntax</h2> 55 <div class="section"> 56<pre class="definition">struct Config 57{ 58<a href="../../../../nn/erreula/CTR/ErrorType.html">ErrorType</a> errorType; 59<a href="../../../../nn_types/s32.html">s32</a> errorCode; 60<a href="../../../../nn_types/s16.html">s16</a> upperScreenFlag; 61<a href="../../../../nn_types/u16.html">u16</a> useLanguage; 62wchar_t errorText[ERROR_TEXT_LENGTH_MAX]; 63bool homeButton; 64bool softwareReset; 65bool appJump; 66<a href="../../../../nn/erreula/CTR/ReturnCode.html">ReturnCode</a> returnCode; 67<a href="../../../../nn_types/u16.html">u16</a> eulaVersion; 68}; 69</pre> 70 </div> 71<h2>Description</h2> 72 <div class="section"> 73<p>This is the structure that is exchanged between the application and the error EULA applet and stores various data.</p><p>You must always call the <a href="../../../../nn/swkbd/CTR/InitializeConfig.html"><CODE>InitializeConfig</CODE></a> function to initialize this structure before setting its member variables.</p><!-- write here --></div> 74 <a name="variable" id="variable"> 75<h2>Member Variables</h2> 76 <div class="section"> 77 <table class="members"> 78 <tr> 79<th class="category" colspan="4">Input</th> 80 </tr> 81 <tr> 82 <td width="100"> </td> 83 <th> 84<span class="argument"><CODE>errorType</CODE></span> 85 </th> 86<td width="100"><a href="../../../../nn/erreula/CTR/ErrorType.html"><CODE>ErrorType</CODE></a></td> 87<td>The type of applet to be called.</td> 88 </tr> 89 <tr> 90 <td width="100"> </td> 91 <th> 92<span class="argument"><CODE>errorCode</CODE></span> 93 </th> 94<td width="100"><a href="../../../../nn_types/s32.html"><CODE>s32</CODE></a></td> 95<td>Error Code</td> 96 </tr> 97 <tr> 98 <td width="100"> </td> 99 <th> 100<span class="argument"><CODE>upperScreenFlag</CODE></span> 101 </th> 102<td width="100"><a href="../../../../nn_types/s16.html"><CODE>s16</CODE></a></td> 103<td>Flag indicating the display method for the upper screen. Invalid setting. The stereoscopic view of the upper screen is inherited from application status, so this does nothing even if specified.</td> 104 </tr> 105 <tr> 106 <td width="100"> </td> 107 <th> 108<span class="argument"><CODE>useLanguage</CODE></span> 109 </th> 110<td width="100"><a href="../../../../nn_types/u16.html">u16</a></td> 111<td>The language to use. If a language that cannot be specified in System Settings is specified here, Japanese will be assumed for systems whose system region is Japan, and English will be assumed for systems whose system region is the Americas or Europe.</td> 112 </tr> 113 <tr> 114 <td width="100"> </td> 115 <th> 116<span class="argument"><CODE>errorText</CODE></span> 117 </th> 118<td width="100"><CODE>wchar_t</CODE></td> 119<td>Freely defined text string for displaying an error. Up to 1900 characters including NULL terminator.</td> 120 </tr> 121 <tr> 122 <td width="100"> </td> 123 <th> 124<span class="argument"><CODE>homeButton</CODE></span> 125 </th> 126<td width="100"><CODE>bool</CODE></td> 127<td>Specifies whether the error EULA applet should exit when the HOME Button is pressed. The error EULA applet exits if true is specified and the HOME Button is pressed.</td> 128 </tr> 129 <tr> 130 <td width="100"> </td> 131 <th> 132<span class="argument"><CODE>softwareReset</CODE></span> 133 </th> 134<td width="100">bool</td> 135<td>Specifies whether to use software reset. The erorr EULA applet exits if <CODE>true</CODE> is specified and the button combination for software reset is pressed.</td> 136 </tr> 137 <tr> 138 <td width="100"> </td> 139 <th> 140<span class="argument"><CODE>appJump</CODE></span> 141 </th> 142<td width="100">bool</td> 143<td>After the error is displayed, if <CODE>true</CODE> is set for whether to display a dialog and prompt an application jump to system settings, a dialog for guiding the user to system settings is displayed. Just display the message and have the application take care of the application jump.</td> 144 </tr> 145 <tr> 146<th class="category" colspan="4">Output</th> 147 </tr> 148 <tr> 149 <td width="100"> </td> 150 <th> 151<span class="argument"><CODE>returnCode</CODE></span> 152 </th> 153<td width="100"><a href="../../../../nn/erreula/CTR/ReturnCode.html"><CODE>ReturnCode</CODE></a></td> 154<td>Return code.</td> 155 </tr> 156 <tr> 157 <td width="100"> </td> 158 <th> 159<span class="argument"><CODE>eulaVersion</CODE></span> 160 </th> 161<td width="100"><a href="../../../../nn_types/u16.html">u16</a></td> 162<td>The EULA version that the end user has agreed to.</td> 163 </tr> </table> 164 </div> 165 </a> 166<h2>Revision History</h2> 167 <div class="section"> 168 <dl class="history"> 169 <dt>2011/08/04</dt> 170<dd>Initial version.<br /> 171 </dd> 172 </dl> 173 </div> 174 <hr><p>CONFIDENTIAL</p></body> 175</html>