IOCTL_INTERNAL_KEYBOARD_CONNECT control code

The IOCTL_INTERNAL_KEYBOARD_CONNECT request connects the Kbdclass service to the keyboard device.

After I8042prt receives a keyboard connect request, it sends a synchronous IOCTL_INTERNAL_I8042_HOOK_KEYBOARD request to the top of keyboard device stack. The connect request is completed after the IOCTL_INTERNAL_I8042_HOOK_KEYBOARD request is completed.

Input Parameters

Parameters.DeviceIoControl.Type3InputBuffer points to a CONNECT_DATA (Kbdclass) structure. This structure includes a pointer to a device object and a pointer to a class service callback routine. The connect data is set by Kbdclass and can be filtered (reset) by a filter driver below Kbdclass in the device stack.

Parameters.DeviceIoControl.InputBufferLength specifies the size, in bytes, of a CONNECT_DATA structure.

Output Parameters

None

I/O Status Block

The Information member is set by the port driver.

The Status member is set to one of the following values:

STATUS_SUCCESS

The request completed successfully.

STATUS_INVALID_PARAMETER

Parameters.DeviceIoControl.InputBufferLength is less than the size, in bytes, of a CONNECT_DATA structure.

STATUS_SHARING_VIOLATION

The port driver is already connected.

Requirements

Header

Kbdmou.h (include Kbdmou.h)

See also

CONNECT_DATA (Kbdclass)
IOCTL_INTERNAL_I8042_HOOK_KEYBOARD

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft