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<h2>Syntax</h2>
17<dl><dd><pre class="construction">
18#include &lt;revolution/kbd.h&gt;
19
20KBDEc KBDExit (void);
21</pre></dd></dl>
22
23<h2>Arguments</h2>
24<p>None.</p>
25
26<h2>Return Values</h2>
27<TABLE class="arguments" border="1" >
28  <tr>
29<TH>KBDEc</TH>
30<TD>Keyboard error code.<br><code>KBD_SUCCESS</code> if the call was successful.<br><code>KBD_ERR_NOT_INITIALIZED</code> if the library was not initialized.<br>
31  </tr>
32</TABLE>
33
34<h2>Description</h2>
35<p>Terminates the USB keyboard library. After the <code>KBDExit</code> function is called, calls to KBD library APIs should no longer be made.
36</p>
37<p>We recommend that all keyboard LEDs be turned off before the <code>KBDExit</code> function is called. When the OS shuts down or resets, it will normally try to turn off all keyboard LEDs, but it cannot do this if the <code>KBDExit</code> function has been called. Also, because the KBD library depends on the HID library, after calling <code>KBDExit</code>, you should close the HID library by calling the <code>HIDCloseAsync</code> function.
38</p>
39
40<h2>See Also</h2>
41<P class="reference">
42<a href="list.html">Keyboard API Function List</a>
43</p>
44
45<h2>Revision History</h2>
46<P>
472008/09/26 Deleted non-implemented return values. Added mention of the <CODE>HIDCloseAsync</CODE> function to <B>Description</B>.<br>2007/03/19 Initial version.<br>
48</p>
49
50<hr><p>CONFIDENTIAL</p></body>
51</HTML>