mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 04:10:04 +00:00
winebus.sys: Implement IOCTL_HID_GET_REPORT_DESCRIPTOR for hidraw.
Signed-off-by: Aric Stewart <aric@codeweavers.com> Signed-off-by: Sebastian Lackner <sebastian@fds-team.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
eac738b95f
commit
da819ebe02
@ -412,6 +412,15 @@ NTSTATUS WINAPI hid_internal_dispatch(DEVICE_OBJECT *device, IRP *irp)
|
||||
irp->IoStatus.Information = sizeof(*descriptor);
|
||||
break;
|
||||
}
|
||||
case IOCTL_HID_GET_REPORT_DESCRIPTOR:
|
||||
{
|
||||
DWORD length = irpsp->Parameters.DeviceIoControl.OutputBufferLength;
|
||||
TRACE("IOCTL_HID_GET_REPORT_DESCRIPTOR\n");
|
||||
|
||||
irp->IoStatus.u.Status = status = ext->vtbl->get_reportdescriptor(device, irp->UserBuffer, length, &length);
|
||||
irp->IoStatus.Information = length;
|
||||
break;
|
||||
}
|
||||
default:
|
||||
{
|
||||
ULONG code = irpsp->Parameters.DeviceIoControl.IoControlCode;
|
||||
|
Loading…
Reference in New Issue
Block a user