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>InitializeConfig</title> 8 </head> 9 <body> 10<h1><CODE>nn::swkbd::CTR::InitializeConfig</CODE> Function</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14void InitializeConfig( 15 <a href="../../../nn/swkbd/CTR/Config/Overview.html">Config</a> * pConfig 16); 17</pre> 18 </div> 19<h2>Arguments</h2> 20 <div class="section"> 21 <table class="arguments"> 22 <thead> 23 <tr> 24 <td width="15" /> 25<th>Name</th> 26<td>Description</td> 27 </tr> 28 </thead> 29 <tr> 30<td>out</td> 31<th>pConfig</th> 32<td>The <a href="../../../nn/swkbd/CTR/Config/Overview.html"><CODE>Config</CODE></a> structure, initialized to default values.</td> 33 </tr> </table> 34 </div> 35<h2>Return Values</h2> 36 <div class="section"> 37None. 38 </div> 39<h2>Description</h2> 40 <div class="section"> 41<p>Initializes the <a href="../../../nn/swkbd/CTR/Config/Overview.html"><CODE>Config</CODE></a> structure to default values.</p><p>Before using the <a href="../../../nn/swkbd/CTR/Config/Overview.html"><CODE>nn::swkbd::CTR::Config</CODE></a> structure, you must always initialize it with this function.</p><p>This function sets the member variables of the <CODE><a href="../../../nn/swkbd/CTR/Config/Overview.html">nn::swkbd::CTR::Config</a></CODE> structure as follows.</p><pre><code> 42 43 keyboardType = KEYBOARD_TYPE_FULL 44 bottomButtonType = BOTTOM_BUTTON_TYPE_2BUTTON 45 finishableCondition = FINISHABLE_CONDITION_NONE 46 maskMode = MASK_MODE_DISABLE 47 parentalControlsMode = PARENTAL_CONTROLS_MODE_DISABLE 48 upperScreenFlag = UPPER_SCREEN_NORMAL 49 textCheckFlag = TEXT_CHECK_DISABLE 50 extOutputDataFlag = EXT_OUTPUT_DATA_NONE 51 textLengthMax = TEXT_LENGTH_MAX_MAX 52 numUserWords = 0 53 numNumbersMax = 0 54 bottomButtonText = 0(fill) 55 tenkeyExtKeyChar = 0(fill) 56 guideText = 0(fill) 57 prediction = false 58 lineFeed = true 59 fixedWidthMode = false 60 homeButton = true 61 softwareReset = false 62 powerButton = true 63 communicateWithOtherRegions = false 64 bootWithQwerty = false 65 bottomButtonToFinish[BOTTOM_BUTTON_0] = false 66 bottomButtonToFinish[BOTTOM_BUTTON_1] = false 67 bottomButtonToFinish[BOTTOM_BUTTON_2] = true 68 69 initialInputText = -1 70 userWordArray = -1 71 initialStatusData = -1 72 initialLearningData = -1 73 sharedMemorySize = 0 74 versionNumber = 0 75 76 returnCode = RETURN_CODE_UNKNOWN 77 statusData = -1 78 learningData = -1 79 inputText = -1 80 inputTextLength = 0 81 82 appTextCheckResult = APP_TEXT_CHECK_RESULT_OK 83 appTextCheckDialogText = 0(fill) 84 85 </code></pre></div> 86<h2>Revision History</h2> 87 <div class="section"> 88 <dl class="history"> 89 <dt>2011/03/18</dt> 90<dd>Added specific information on settings.<br /> 91 </dd> 92 <dt>2011/03/01</dt> 93<dd>Initial version.<br /> 94 </dd> 95 </dl> 96 </div> 97 <hr><p>CONFIDENTIAL</p></body> 98</html>