Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

43 lines
2.6 KiB

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>KBDCLASS</TITLE>
<META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
</HEAD>
<BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
<FONT FACE="Verdana"><H2><A NAME="MYSAMPLE">KBDCLASS</A> </H2> <P>
<span style="color:#FF0000">[This is preliminary documentation and subject to change.]</span>
<h3>SUMMARY</h3><P><FONT FACE="Verdana" SIZE=2><P>
This keyboard class driver is compliant with Plug and Play on Windows&#174; 2000 and beyond. The behavior of the various routines is documented in the source code files. The driver works on both 32 and 64 bit platforms. <P>
In addition to Plug and Play, the driver supports legacy Windows NT&#174; 4.0-style input devices, Power Management, and all other Windows 2000 drivers.<P>
<h3>BUILDING THE SAMPLE</h3><P><FONT FACE="Verdana" SIZE=2><P>
The files necessary to build the sample include Kbdclass.c, Kbdlass.h, Kbdlass.rc, Kbdlog.rc, the makefile, and the sources. Once built, the sample produces a keyboard class driver (Kbdclass.sys). One binary is produced. Both checked and free build are available and functional. KEYBOARD.INF (the inf required to load this driver) is a system INF.<P>
This sample is the complete source code for the shipping keyboard class driver, which runs always on Windows XP systems. It is therefore always installed. To run a customized driver, rather than the one shipped by the build, you will need to replace it in the %Windir%\System32\Drivers directory. Please note that kbdclass.sys is a system driver and is protected by Windows File Protection.<P>
<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><FONT FACE="Courier" SIZE=3><U><PRE>File&#9;&#9;Description
</U>
Kbdclass.htm&#9;The documentation for this sample (this file).
Sources&#9; The generic file for building this code sample.
Kbdclass.c&#9;The complete driver (quining, Plug and Play, Power)
Kbdclass.h&#9;Prototypes and definitions
Kbdclass.rc&#9;Standard resource file (listing name and version number)
Kbdlog.mc&#9;List of standard error-log messages for the keyboard class driver
</FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
<TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
<P></TD>
</TR>
</TABLE>
<FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
</HTML>