CONNECT_DATA specifies information that Mouclass uses to connect to a mouse port.
typedef struct _CONNECT_DATA {
IN PDEVICE_OBJECT ClassDeviceObject;
IN PVOID ClassService;
} CONNECT_DATA, *PCONNECT_DATA;
Declared in kbdmou.h. Include kbdmou.h.
The mouse class driver uses this structure with an IOCTL_INTERNAL_MOUSE_CONNECT request.
For more information about connecting to a mouse port, see Connect a Class Service Callback and a Filter Service Callback to a Device.