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/extrapad/Overview.html">extrapad</a>::<a href="../../../nn/extrapad/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_NONE</CODE></th>
32          <td>Ended normally; calibration not performed.</td>
33        </tr>
34        <tr>
35          <th><CODE>RETURN_CODE_SUCCESS</CODE></th>
36          <td>Calibration complete; calibration was performed.</td>
37        </tr>
38        <tr>
39          <th><CODE>RETURN_CODE_HOME_BUTTON</CODE></th>
40          <td>HOME was pressed.</td>
41        </tr>
42        <tr>
43          <th><CODE>RETURN_CODE_SOFTWARE_RESET</CODE></th>
44          <td>A combination of buttons causing a software reset was pressed.</td>
45        </tr>
46        <tr>
47          <th><CODE>RETURN_CODE_POWER_BUTTON</CODE></th>
48          <td>The POWER button was pressed.</td>
49        </tr>
50        <tr>
51          <th><CODE>RETURN_CODE_MAX_BIT</CODE></th>
52          <td>(This enumerator is used for internal processing. It cannot be used from the application.)</td>
53        </tr>
54      </table> </div>
55    <h2>Description</h2>
56    <div class="section">
57      <p>Return code.</p><p>The values when ending normally are zero and above. The values when ending abnormally are negative.</p>
58      </div>
59    <h2>Revision History</h2>
60    <div class="section">
61      <dl class="history">
62        <dt>2011/07/21</dt>
63        <dd>Initial version.<br />
64        </dd>
65      </dl>
66    </div>
67  <hr><p>CONFIDENTIAL</p></body>
68</html>