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. |
|
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 |
|
|
|
|
|
|
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.
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.
The size of a MOUSE_UNIT_ID_PARAMETER structure.
AssociatedIrp.SystemBuffer points to the client-allocated buffer that the lower-level drivers use to output a MOUSE_ATTRIBUTES structure.
The size of a MOUSE_ATTRIBUTES structure.
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:
The Parameters.DeviceIoControl.InputBufferLength value is greater than zero but less than the size, in bytes, of a MOUSE_UNIT_ID_PARAMETER structure.
The UnitId value is invalid.
The target device is associated with a subordinate class device.
The request completed successfully.