This mouse-class driver is compliant with Windows® 2000 Plug and Play. The behavior of the various routines is documented in the source code files.
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® 4.0-style input devices, Power Management, and all other Windows 2000 drivers.
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.
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.
File DescriptionMouclass.htm The documentation for this sample (this file). Sources The generic file for building this code sample. Mouclass.c The complete driver (quining, Plug and Play, Power) Mouclass.h Prototypes and definitions Mouclass.rc Standard resource file (listing name and version number) Moulog.mc List of standard error-log messages for the mouse class driver
© 1999 Microsoft Corporation