Kbdclass and Mouclass Driver Reference

This section includes the following topics about Kbdclass, the class driver for device class GUID_CLASS_KEYBOARD and the system class driver Mouclass. The Mouclass driver supports the device class GUID_CLASS_MOUSE, in Microsoft Windows 2000 and later operating systems:

In this section

TopicDescription

Kbdclass IOCTLs

Kbdclass Structures

Kbfiltr Driver Reference

Mouclass IOCTLs

MouClass Structures

Moufiltr Driver Reference

CONNECT_DATA

CONNECT_DATA specifies information that Kbdclass and Mouclass use to connect to a keyboard or mouse port.

PSERVICE_CALLBACK_ROUTINE

A function driver calls the class service callback in its ISR dispatch completion routine. The class service callback transfers input data from the input data buffer of a device to the class data queue.

 

Windows uses Kbdclass as the class driver for all keyboard devices that are installed in a system. The Windows Win32 subsystem opens all keyboard devices for its exclusive use. Applications cannot open the keyboard devices operated by Kbdclass.

Kbdclass can work in combination with an optional upper-level filter driver for a PS/2-style keyboard device. Kbfiltr, a sample upper-level keyboard filter driver in the MSDN Code Gallery, demonstrates how to customize the operation of a keyboard device.

For more information about Kbdclass and Mouclass, see the following:

  • The ntddkbd.h WDK header file

Note   Kbdclass supports legacy devices and Plug and Play devices. As appropriate, this material distinguishes between the operation of Kbdclass for a legacy device and for a Plug and Play device. If no distinction is made, the description applies to both legacy and Plug and Play devices.
 

Windows uses Mouclass as the class driver for all mouse devices installed in a system. The Windows Win32 subsystem opens all mouse devices for its exclusive use. Applications cannot open the mouse devices opened by Mouclass.

Mouclass can work in combination with an optional upper-level mouse filter driver for a PS/2-style mouse device. Moufiltr, a sample upper-level mouse filter driver in the MSDN Code Gallery, can be used to customize the operation of a mouse device.

For more information about Mouclass, see the following:

  • The ntddkbd.h WDK header file

Note   Mouclass supports legacy devices and Plug and Play devices. When appropriate, this material distinguishes between the operation of Mouclass for a legacy device and a Plug and Play device. If no distinction is made, the description applies to both legacy and Plug and Play devices.
 

 

 

Send comments about this topic to Microsoft

Show: