// kbdmou.h
typedef struct _CONNECT_DATA {
IN PDEVICE_OBJECT ClassDeviceObject;
IN PVOID ClassService;
} CONNECT_DATA, *PCONNECT_DATA;
View the official Windows Driver Kit DDI referenceNo description available.
CONNECT_DATA specifies information that Kbdclass and Mouclass use to connect to a keyboard or mouse port.
ClassDeviceObjectPointer to an upper-level class filter device object (filter DO).
ClassServiceSpecifies the class service routine. See PSERVICE_CALLBACK_ROUTINE.
The keyboard class driver uses this structure with an IOCTL_INTERNAL_KEYBOARD_CONNECT request; the mouse class driver uses IOCTL_INTERNAL_MOUSE_CONNECT .