1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="Microsoft FrontPage 5.0">
7<META http-equiv="Content-Style-Type" content="text/css">
8<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css">
9<title>KBDExit</title>
10</head>
11
12<body>
13
14<h1>KBDExit</h1>
15
16
17<h2>C Specification</h2>
18
19<dl>
20<dd><pre><code>#include &lt;revolution/kbd.h&gt;</code></pre>
21  </dd>
22<dd><pre><code>KBDEc KBDExit (void);</code></pre>
23  </dd>
24</dl>
25
26<h2>Arguments</h2>
27<p>None.</p>
28
29<h2>Return Values</h2>
30
31<TABLE border="1" cellpadding="3" cellspacing="0.1">
32  <tr>
33<TD width="120" bgcolor="#ffffe8"><code><em><strong>KBDEc</strong></em></code></TD>
34<TD width="520">Keyboard error code.<br><code>KBD_SUCCESS</code> if the call was successful.<br><code>KBD_ERR_NOT_INITIALIZED</code> if the library wasn't initialized.<br><code>KBD_ERR_OTHER</code> if a dependent library fails to terminate.</TD>
35    </tr>
36</TABLE>
37
38<h2>Description</h2>
39
40<p>Terminates the USB keyboard library. Calls to KBD library functions should no longer be made once <code>KBDExit</code> has been called.
41</p>
42<p>It is recommended to turn off all keyboard LEDs before calling <code>KBDExit</code>. When the OS shuts down or resets, it will normally try to turn off all keyboard LEDs, but it cannot do this if <code>KBDExit</code> has been called.</p>
43
44<h2>See Also</h2>
45
46<p><a href="list.html">Keyboard API Function List</a></p>
47
48<h2>Revision History</h2><p></p>
49
50<P>2007/03/19 Initial version.</p>
51
52</BODY>
53</HTML>