windows-nt/Source/XPSP1/NT/drivers/input/mouclass/mouclass.htm
2020-09-26 16:20:57 +08:00

43 lines
2.5 KiB
HTML

<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
<META NAME="Generator" CONTENT="Microsoft Word 97">
<TITLE>MOUCLASS</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">MOUCLASS</A> </H2>
<span style="color:#FF0000">[This is preliminary documentation and subject to change.]</span>
<H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
This mouse-class driver is compliant with Windows&#174; 2000 Plug and Play. The behavior of the various routines is documented in the source code files. <P>
This sample works on both x86 and Alpha platforms and is 64-bit compliant. Along with 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></FONT><FONT FACE="Verdana" SIZE=2><P>
The files necessary to build this sample include Mouclass.c, Mouclass.h, Mouclass.rc, Moulog.rc, the makefile, and the sources. Once built, it produces one binary: a mouse-class driver (Mouclass.sys). Free and checked builds are both available. MSMOUSE.INF (the inf required to load this driver) is a system INF.<P>
This sample is the complete source code for the shipping mouse class driver, which runs always on Windows 2000 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 mouclass.sys is a system driver and is protected by Windows File Protection.<P>
<H3>CODE TOUR</H3>
<H4>File Manifest</H4>
</FONT><U><PRE>File&#9;&#9;Description
</U>
Mouclass.htm&#9;The documentation for this sample (this file).
Sources&#9; The generic file for building this code sample.
Mouclass.c&#9;The complete driver (quining, Plug and Play, Power)
Mouclass.h&#9;Prototypes and definitions
Mouclass.rc&#9;Standard resource file (listing name and version number)
Moulog.mc&#9;List of standard error-log messages for the mouse 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>