mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 13:46:17 +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:
|
||||
{
|
||||
DPRINT1("IOCTL_MOUSE_QUERY_ATTRIBUTES not implemented\n");
|
||||
Status = STATUS_NOT_IMPLEMENTED;
|
||||
TRACE_(I8042PRT, "IRP_MJ_INTERNAL_DEVICE_CONTROL / IOCTL_MOUSE_QUERY_ATTRIBUTES\n");
|
||||
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;
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue