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 <title>ReturnCode</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/swkbd/Overview.html">swkbd</a>::<a href="../../../nn/swkbd/CTR/Overview.html">CTR</a>::ReturnCode</CODE> Enumerated Type</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14enum ReturnCode; 15</pre> 16 </div> 17 <h2>Value</h2> 18 <div class="section"> 19 <table class="arguments"> 20 <thead> 21 <tr> 22 <th>Value</th> 23 <td>Description</td> 24 </tr> 25 </thead> 26 <tr> 27 <th><CODE>RETURN_CODE_UNKNOWN</CODE></th> 28 <td>Ended abnormally.</td> 29 </tr> 30 <tr> 31 <th><CODE>RETURN_CODE_INVALID_CONFIG</CODE></th> 32 <td><CODE>Config</CODE> structure member variable has an invalid value.</td> 33 </tr> 34 <tr> 35 <th><CODE>RETURN_CODE_OUT_OF_MEMORY</CODE></th> 36 <td>Ended abnormally due to insufficient memory.</td> 37 </tr> 38 <tr> 39 <th><CODE>RETURN_CODE_BOTTOM_BUTTON_1BUTTON</CODE></th> 40 <td>The button of a 1-button-type bottom row was pressed.</td> 41 </tr> 42 <tr> 43 <th><CODE>RETURN_CODE_BOTTOM_BUTTON_2BUTTON_LEFT</CODE></th> 44 <td>The left-side button of a 2-button-type bottom row was pressed.</td> 45 </tr> 46 <tr> 47 <th><CODE>RETURN_CODE_BOTTOM_BUTTON_2BUTTON_RIGHT</CODE></th> 48 <td>The right-side button of a 2-button-type bottom row was pressed.</td> 49 </tr> 50 <tr> 51 <th><CODE>RETURN_CODE_BOTTOM_BUTTON_3BUTTON_LEFT</CODE></th> 52 <td>The left-side button of a 3-button-type bottom row was pressed.</td> 53 </tr> 54 <tr> 55 <th><CODE>RETURN_CODE_BOTTOM_BUTTON_3BUTTON_MIDDLE</CODE></th> 56 <td>The center button of a 3-button-type bottom row was pressed.</td> 57 </tr> 58 <tr> 59 <th><CODE>RETURN_CODE_BOTTOM_BUTTON_3BUTTON_RIGHT</CODE></th> 60 <td>The right-side button of a 3-button-type bottom row was pressed.</td> 61 </tr> 62 <tr> 63 <th><CODE>RETURN_CODE_HOME_BUTTON</CODE></th> 64 <td>HOME was pressed.</td> 65 </tr> 66 <tr> 67 <th><CODE>RETURN_CODE_SOFTWARE_RESET</CODE></th> 68 <td>A combination of buttons causing a software reset was pressed.</td> 69 </tr> 70 <tr> 71 <th><CODE>RETURN_CODE_POWER_BUTTON</CODE></th> 72 <td>The POWER button was pressed.</td> 73 </tr> 74 <tr> 75 <th><CODE>RETURN_CODE_PARENTAL_CONTROLS_SUCCESS</CODE></th> 76 <td>Temporary disabling of Parental Controls succeeded.</td> 77 </tr> 78 <tr> 79 <th><CODE>RETURN_CODE_PARENTAL_CONTROLS_FAILURE</CODE></th> 80 <td>Temporary disabling of Parental Controls failed.</td> 81 </tr> 82 <tr> 83 <th><CODE>RETURN_CODE_APP_TEXT_CHECK_NG</CODE></th> 84 <td>Application performed text checking and returned an <CODE>NG</CODE> result (indicating that it found problems).</td> 85 </tr> 86 <tr> 87 <th><CODE>RETURN_CODE_MAX_BIT</CODE></th> 88 <td>(This enumerator is used for internal processing. It cannot be used from the application.)</td> 89 </tr> 90 </table> </div> 91 <h2>Description</h2> 92 <div class="section"> 93 <p>Enumerated type representing return codes.</p><p>The values when ending normally are zero and above. The values when ending abnormally are negative.</p><!-- write here --></div> 94 <h2>Revision History</h2> 95 <div class="section"> 96 <dl class="history"> 97 <dt>2011/04/12</dt> 98 <dd>Added descriptions to values that had no descriptions.<br /> 99 </dd> 100 <dt>2011/03/01</dt> 101 <dd>Initial version.<br /> 102 </dd> 103 </dl> 104 </div> 105 <hr><p>CONFIDENTIAL</p></body> 106</html> 107