Skip to content

Latest commit

 

History

History
115 lines (78 loc) · 4.25 KB

ni-ntddmou-ioctl_mouse_query_attributes.md

File metadata and controls

115 lines (78 loc) · 4.25 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:ntddmou.IOCTL_MOUSE_QUERY_ATTRIBUTES
IOCTL_MOUSE_QUERY_ATTRIBUTES (ntddmou.h)
The IOCTL_MOUSE_QUERY_ATTRIBUTES request returns information about the mouse attributes.
IOCTL_MOUSE_QUERY_ATTRIBUTES
IOCTL_MOUSE_QUERY_ATTRIBUTES control
IOCTL_MOUSE_QUERY_ATTRIBUTES control code [Human Input Devices]
hid.ioctl_mouse_query_attributes
mref_078cb198-31ca-4b11-bc5b-33553bcb71a0.xml
ntddmou/IOCTL_MOUSE_QUERY_ATTRIBUTES
hid\ioctl_mouse_query_attributes.htm
hid
f5b82702-610a-41d3-96c9-2c4eae2244e3
12/05/2018
IOCTL_MOUSE_QUERY_ATTRIBUTES, IOCTL_MOUSE_QUERY_ATTRIBUTES control, IOCTL_MOUSE_QUERY_ATTRIBUTES control code [Human Input Devices], hid.ioctl_mouse_query_attributes, mref_078cb198-31ca-4b11-bc5b-33553bcb71a0.xml, ntddmou/IOCTL_MOUSE_QUERY_ATTRIBUTES
ntddmou.h
Ntddmou.h
Windows
Windows
19H1
IOCTL_MOUSE_QUERY_ATTRIBUTES
ntddmou/IOCTL_MOUSE_QUERY_ATTRIBUTES
c++
APIRef
kbSyntax
HeaderDef
ntddmou.h
IOCTL_MOUSE_QUERY_ATTRIBUTES

IOCTL_MOUSE_QUERY_ATTRIBUTES IOCTL

-description

The IOCTL_MOUSE_QUERY_ATTRIBUTES request returns information about the mouse attributes.

Mouclass copies the current stack location, sets the MajorFunction member of the new stack location to IRP_MJ_INTERNAL_DEVICE_CONTROL, and sends this request down the device stack.

For more information about this request, see I8042prt Mouse Internal Device Control Requests.

-ioctlparameters

-input-buffer

The Parameters.DeviceIoControl.InputBufferLength member is set to zero or a value greater than or equal to the size, in bytes, of a MOUSE_UNIT_ID_PARAMETER. A value of zero specifies a default unit ID of zero.

The AssociatedIrp.SystemBuffer member points to a client-allocated buffer that is used to input and output information. On input, AssociatedIrp.SystemBuffer points to a MOUSE_UNIT_ID_PARAMETER structure. The client sets the UnitId member of the input structure.

The Parameters.DeviceIoControl.OutputBufferLength member specifies the size, in bytes, of an output buffer, which must be greater than or equal to the size in bytes of a MOUSE_ATTRIBUTES structure.

-input-buffer-length

The size of a MOUSE_UNIT_ID_PARAMETER structure.

-output-buffer

AssociatedIrp.SystemBuffer points to the client-allocated buffer that the lower-level drivers use to output a MOUSE_ATTRIBUTES structure.

-output-buffer-length

The size of a MOUSE_ATTRIBUTES structure.

-in-out-buffer

-inout-buffer-length

-status-block

The Information member is set to the number of bytes of attribute data that are returned if the request is successful.

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

-STATUS_BUFFER_TOO_SMALL

The Parameters.DeviceIoControl.InputBufferLength value is greater than zero but less than the size, in bytes, of a MOUSE_UNIT_ID_PARAMETER structure.

-STATUS_INVALID_PARAMETER

The UnitId value is invalid.

-STATUS_NOT_SUPPORTED

The target device is associated with a subordinate class device.

-STATUS_SUCCESS

The request completed successfully.

-see-also

MOUSE_ATTRIBUTES

MOUSE_UNIT_ID_PARAMETER