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::midi::CTR</title>
51  </head>
52  <body>
53<h1><CODE>nn::midi::CTR</CODE> Namespace</h1>
54<h2>Description</h2>
55    <div class="section">
56<p>The <a href="../../../nn/midi/CTR/Overview.html"><CODE>CTR</CODE></a> MIDI namespace. <br />(This can also be written without the &quot;<CODE>::CTR</CODE>&quot; portion.)</p><!-- write here --></div>
57    <a name="function" id="function">
58<h2>Functions</h2>
59      <div class="section">
60        <table class="members">
61          <tr>
62<th class="category" colspan="3">Initialize/Finalize</th>
63          </tr>
64          <tr>
65            <td width="100">  </td>
66            <th>
67<a href="../../../nn/midi/CTR/Initialize.html"><CODE>Initialize</CODE></a>
68            </th>
69<td>Initializes the MIDI library. Call this function once before using the library.</td>
70          </tr>
71          <tr>
72            <td width="100">  </td>
73            <th>
74<a href="../../../nn/midi/CTR/Finalize.html"><CODE>Finalize</CODE></a>
75            </th>
76<td>Finalizes the MIDI library. Call this function once after using the library.</td>
77          </tr>
78          <tr>
79<th class="category" colspan="3">Other</th>
80          </tr>
81          <tr>
82            <td width="100">  </td>
83            <th>
84<a href="../../../nn/midi/CTR/Open.html"><CODE>Open</CODE></a>
85            </th>
86<td>Opens a MIDI device and enables it for use.</td>
87          </tr>
88          <tr>
89            <td width="100">  </td>
90            <th>
91<a href="../../../nn/midi/CTR/Close.html"><CODE>Close</CODE></a>
92            </th>
93<td>Closes a MIDI device.</td>
94          </tr>
95          <tr>
96            <td width="100">  </td>
97            <th>
98<a href="../../../nn/midi/CTR/Reset.html">Reset</a>
99            </th>
100<td>Resets a MIDI device to the state immediately after <CODE>Open</CODE> was called. If <CODE>Read</CODE> has been called from a different thread, <CODE>Read</CODE> will return an error.</td>
101          </tr>
102          <tr>
103            <td width="100">  </td>
104            <th>
105<a href="../../../nn/midi/CTR/GetDeviceInfo.html"><CODE>GetDeviceInfo</CODE></a>
106            </th>
107<td>Gets device info.</td>
108          </tr>
109          <tr>
110            <td width="100">  </td>
111            <th>
112<a href="../../../nn/midi/CTR/GetReadableLength.html"><CODE>GetReadableLength</CODE></a>
113            </th>
114<td>Gets the amount of data that has accumulated in the device's buffer.</td>
115          </tr>
116          <tr>
117            <td width="100">  </td>
118            <th>
119<a href="../../../nn/midi/CTR/Read.html"><CODE>Read</CODE></a>
120            </th>
121<td>Reads in data.</td>
122          </tr> </table>
123      </div>
124    </a>
125<h2>Revision History</h2>
126    <div class="section">
127      <dl class="history">
128        <dt>2010/06/14</dt>
129<dd>Initial version.<br />
130        </dd>
131      </dl>
132    </div>
133  <hr><p>CONFIDENTIAL</p></body>
134</html>