mirror of
https://github.com/reactos/reactos.git
synced 2024-12-26 17:14:41 +00:00
[KBDHID] Fix returned Status for IOCTL_KEYBOARD_QUERY_*
Addendum to 6249d5ede31ee6ba81f8b0cde94f5c8f875fd9a.
This commit is contained in:
parent
3bf7e3ac13
commit
d389a5d10c
1 changed files with 2 additions and 2 deletions
|
@ -459,7 +459,7 @@ KbdHid_InternalDeviceControl(
|
|||
/* buffer too small */
|
||||
Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL;
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
return STATUS_BUFFER_TOO_SMALL;
|
||||
}
|
||||
|
||||
/* copy indicators */
|
||||
|
@ -479,7 +479,7 @@ KbdHid_InternalDeviceControl(
|
|||
/* buffer too small */
|
||||
Irp->IoStatus.Status = STATUS_BUFFER_TOO_SMALL;
|
||||
IoCompleteRequest(Irp, IO_NO_INCREMENT);
|
||||
return STATUS_INVALID_PARAMETER;
|
||||
return STATUS_BUFFER_TOO_SMALL;
|
||||
}
|
||||
|
||||
/* copy indicators */
|
||||
|
|
Loading…
Reference in a new issue