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.

42 lines
2.5 KiB

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
  4. <META NAME="Generator" CONTENT="Microsoft Word 97">
  5. <TITLE>MOUCLASS</TITLE>
  6. <META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
  7. </HEAD>
  8. <BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
  9. <FONT FACE="Verdana"><H2><A NAME="MYSAMPLE">MOUCLASS</A> </H2>
  10. <span style="color:#FF0000">[This is preliminary documentation and subject to change.]</span>
  11. <H3>SUMMARY</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  12. 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>
  13. 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>
  14. <H3>BUILDING THE SAMPLE</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  15. 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>
  16. 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>
  17. <H3>CODE TOUR</H3>
  18. <H4>File Manifest</H4>
  19. </FONT><U><PRE>File&#9;&#9;Description
  20. </U>
  21. Mouclass.htm&#9;The documentation for this sample (this file).
  22. Sources&#9; The generic file for building this code sample.
  23. Mouclass.c&#9;The complete driver (quining, Plug and Play, Power)
  24. Mouclass.h&#9;Prototypes and definitions
  25. Mouclass.rc&#9;Standard resource file (listing name and version number)
  26. Moulog.mc&#9;List of standard error-log messages for the mouse class driver
  27. </FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
  28. <TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
  29. <TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
  30. <P></TD>
  31. </TR>
  32. </TABLE>
  33. <FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
  34. </HTML>