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 <revolution/kbd.h> 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> 31 <code>KBD_SUCCESS</code> if the call was successful.<br> 32 <code>KBD_ERR_NOT_INITIALIZED</code> if the library was not initialized.<br> 33 </tr> 34</TABLE> 35 36<h2>Description</h2> 37<p>Terminates the USB keyboard library. After the <code>KBDExit</code> function is called, calls to KBD library APIs should no longer be made. 38</p> 39<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. 40</p> 41 42<h2>See Also</h2> 43<P class="reference"> 44<a href="list.html">Keyboard API Function List</a> 45</p> 46 47<h2>Revision History</h2> 48<P> 492008/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> 50</p> 51 52<hr><p>CONFIDENTIAL</p></body> 53</HTML>