Skip to content

Latest commit

 

History

History
107 lines (72 loc) · 3.31 KB

ni-ntddkbd-ioctl_keyboard_query_attributes.md

File metadata and controls

107 lines (72 loc) · 3.31 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NI:ntddkbd.IOCTL_KEYBOARD_QUERY_ATTRIBUTES
IOCTL_KEYBOARD_QUERY_ATTRIBUTES (ntddkbd.h)
The IOCTL_KEYBOARD_QUERY_ATTRIBUTES request returns information about the keyboard attributes.
IOCTL_KEYBOARD_QUERY_ATTRIBUTES
IOCTL_KEYBOARD_QUERY_ATTRIBUTES control
IOCTL_KEYBOARD_QUERY_ATTRIBUTES control code [Human Input Devices]
hid.ioctl_keyboard_query_attributes2
i8042ref_51ea405d-a67d-4074-9e29-a307c9681196.xml
ntddkbd/IOCTL_KEYBOARD_QUERY_ATTRIBUTES
hid\ioctl_keyboard_query_attributes2.htm
hid
ebf0f275-dbf6-4538-bd90-40ba47a8bfc0
08/06/2020
IOCTL_KEYBOARD_QUERY_ATTRIBUTES, IOCTL_KEYBOARD_QUERY_ATTRIBUTES control, IOCTL_KEYBOARD_QUERY_ATTRIBUTES control code [Human Input Devices], hid.ioctl_keyboard_query_attributes2, i8042ref_51ea405d-a67d-4074-9e29-a307c9681196.xml, ntddkbd/IOCTL_KEYBOARD_QUERY_ATTRIBUTES
ntddkbd.h
Ntddkbd.h
Windows
Windows
19H1
IOCTL_KEYBOARD_QUERY_ATTRIBUTES
ntddkbd/IOCTL_KEYBOARD_QUERY_ATTRIBUTES
c++
APIRef
kbSyntax
HeaderDef
ntddkbd.h
IOCTL_KEYBOARD_QUERY_ATTRIBUTES

IOCTL_KEYBOARD_QUERY_ATTRIBUTES IOCTL

-description

The IOCTL_KEYBOARD_QUERY_ATTRIBUTES request returns information about the keyboard attributes.

-ioctlparameters

-input-buffer

Parameters.DeviceIoControl.OutputBufferLength is set to a value greater than or equal to the size, in bytes, of a KEYBOARD_ATTRIBUTES structure.

-input-buffer-length

The size of a KEYBOARD_ATTRIBUTES structure.

-output-buffer

AssociatedIrp.SystemBuffer points to a client-allocated buffer that I8042prt uses to output a KEYBOARD_ATTRIBUTES structure.

-output-buffer-length

The size of a KEYBOARD_ATTRIBUTES structure.

-in-out-buffer

-inout-buffer-length

-status-block

If the request is successful, the Information member is set to the size, in bytes, of a KEYBOARD_ATTRIBUTES structure. Otherwise the Information member is set to zero.

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

-STATUS_BUFFER_TOO_SMALL

Parameters.DeviceIoControl.OutputBufferLength is less than the size, in bytes, of a KEYBOARD_ATTRIBUTES structure.

-STATUS_SUCCESS

The request completed successfully.

-see-also

IOCTL_KEYBOARD_QUERY_INDICATORS

IOCTL_KEYBOARD_QUERY_INDICATOR_TRANSLATION

IOCTL_KEYBOARD_QUERY_TYPEMATIC

KEYBOARD_ATTRIBUTES structure