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      span.virtual_style
22      {
23        font-size			 : 8pt;
24        color				 : white;
25        font-weight			: bold;
26        background			: #0a0;
27        border-left			: solid 1px #0f0;
28        border-top			: solid 1px #0f0;
29        border-right		: solid 1px #060;
30        border-bottom		: solid 1px #060;
31        padding-left		: 2px;
32        padding-right		: 2px;
33      }
34      span.protected_style
35      {
36        font-size			 : 8pt;
37        color				 : white;
38        font-weight			: bold;
39        background			: #444;
40        border-left			: solid 1px #ccc;
41        border-top			: solid 1px #ccc;
42        border-right		: solid 1px #222;
43        border-bottom		: solid 1px #222;
44        padding-left		: 2px;
45        padding-right		: 2px;
46      }
47        --></style>
48<title>nn::midi::CTR</title>
49  </head>
50  <body>
51<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/midi/Overview.html">midi</a>::CTR</CODE> Namespace</h1>
52<h2>Description</h2>
53    <div class="section">
54<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>
55    <a name="struct" id="struct">
56<h2>Structures</h2>
57      <div class="section">
58        <table class="members">
59          <tr>
60            <th>
61<a href="../../../nn/midi/CTR/DeviceInfo/Overview.html"><CODE>nn::midi::CTR::DeviceInfo</CODE></a>
62            </th>
63<td>Structure representing MIDI device information.</td>
64          </tr> </table>
65      </div>
66    </a> <a name="function" id="function">
67<h2>Functions</h2>
68      <div class="section">
69        <table class="members">
70          <tr>
71<th class="category" colspan="3">Initialize/Finalize</th>
72          </tr>
73          <tr>
74            <td width="100">  </td>
75            <th>
76<a href="../../../nn/midi/CTR/Initialize.html"><CODE>Initialize</CODE></a>
77            </th>
78<td>Initializes the MIDI library. Call this function once before using the library.</td>
79          </tr>
80          <tr>
81            <td width="100">  </td>
82            <th>
83<a href="../../../nn/midi/CTR/Finalize.html"><CODE>Finalize</CODE></a>
84            </th>
85<td>Finalizes the MIDI library. Call this function once after using the library.</td>
86          </tr>
87          <tr>
88<th class="category" colspan="3">Other</th>
89          </tr>
90          <tr>
91            <td width="100">  </td>
92            <th>
93<a href="../../../nn/midi/CTR/Open.html"><CODE>Open</CODE></a>
94            </th>
95<td>Opens a MIDI device and enables it for use.</td>
96          </tr>
97          <tr>
98            <td width="100">  </td>
99            <th>
100<a href="../../../nn/midi/CTR/Close.html"><CODE>Close</CODE></a>
101            </th>
102<td>Closes a MIDI device.</td>
103          </tr>
104          <tr>
105            <td width="100">  </td>
106            <th>
107<a href="../../../nn/midi/CTR/Reset.html">Reset</a>
108            </th>
109<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>
110          </tr>
111          <tr>
112            <td width="100">  </td>
113            <th>
114<a href="../../../nn/midi/CTR/GetDeviceInfo.html"><CODE>GetDeviceInfo</CODE></a>
115            </th>
116<td>Gets device info.</td>
117          </tr>
118          <tr>
119            <td width="100">  </td>
120            <th>
121<a href="../../../nn/midi/CTR/GetReadableLength.html"><CODE>GetReadableLength</CODE></a>
122            </th>
123<td>Gets the amount of data that has accumulated in the device's buffer.</td>
124          </tr>
125          <tr>
126            <td width="100">  </td>
127            <th>
128<a href="../../../nn/midi/CTR/Read.html"><CODE>Read</CODE></a>
129            </th>
130<td>Reads in data.</td>
131          </tr> </table>
132      </div>
133    </a>
134<h2>Revision History</h2>
135    <div class="section">
136      <dl class="history">
137        <dt>2010/06/14</dt>
138<dd>Initial version.<br />
139        </dd>
140      </dl>
141    </div>
142  <hr><p>CONFIDENTIAL</p></body>
143</html>
144