mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 04:43:51 +00:00
- Implement IOCTL_MOUSE_QUERY_ATTRIBUTES (untested)
svn path=/trunk/; revision=41197
This commit is contained in:
parent
8564d5d7b0
commit
d14c9bfc5e
1 changed files with 10 additions and 2 deletions
|
@ -512,8 +512,16 @@ cleanup:
|
||||||
}
|
}
|
||||||
case IOCTL_MOUSE_QUERY_ATTRIBUTES:
|
case IOCTL_MOUSE_QUERY_ATTRIBUTES:
|
||||||
{
|
{
|
||||||
DPRINT1("IOCTL_MOUSE_QUERY_ATTRIBUTES not implemented\n");
|
TRACE_(I8042PRT, "IRP_MJ_INTERNAL_DEVICE_CONTROL / IOCTL_MOUSE_QUERY_ATTRIBUTES\n");
|
||||||
Status = STATUS_NOT_IMPLEMENTED;
|
if (Stack->Parameters.DeviceIoControl.OutputBufferLength < sizeof(MOUSE_ATTRIBUTES))
|
||||||
|
{
|
||||||
|
Status = STATUS_BUFFER_TOO_SMALL;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
*(PMOUSE_ATTRIBUTES) Irp->AssociatedIrp.SystemBuffer = DeviceExtension->MouseAttributes;
|
||||||
|
Irp->IoStatus.Information = sizeof(MOUSE_ATTRIBUTES);
|
||||||
|
Status = STATUS_SUCCESS;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue