IRP_MJ_CREATE (I8042prt Keyboard)
The IRP_MJ_CREATE request opens an i8082 port keyboard device.
When Sent
The Win32 subsystem uses an IRP_MJ_CREATE request to open an i8042 port keyboard device for its exclusive use.
Input Parameters
None
Output Parameters
None
I/O Status Block
The Information member is set to zero.
The Status member is set to one of the following status codes:
STATUS_SUCCESS
The device was successfully opened.STATUS_INVALID_DEVICE_STATE
The keyboard class service is not connected.STATUS_NO_SUCH_DEVICE
The keyboard device is not present.
Operation
Kbdclass uses an IOCTL_INTERNAL_KEYBOARD_CONNECT request to connect to a device before Kbdclass can open the device. A keyboard device is an exclusive device; there can be only one connection to the device at any given time.
Requirements
Header |
Wdm.h (include Ntddk.h, Wdm.h, or Ntddk.h) |
See also