From 1b62b7f3c93dec8e6aba5b6f1f9ffaeafd6c83e1 Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Tue, 5 Apr 2016 08:43:43 -0500 Subject: [PATCH] hidclass.sys: Correct input vs output parameters for IOCTL_HID_SET_FEATURE. Signed-off-by: Aric Stewart Signed-off-by: Alexandre Julliard --- dlls/hidclass.sys/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/hidclass.sys/device.c b/dlls/hidclass.sys/device.c index 886a77a3e5b..2900d9eaba8 100644 --- a/dlls/hidclass.sys/device.c +++ b/dlls/hidclass.sys/device.c @@ -479,7 +479,7 @@ static NTSTATUS HID_set_feature(DEVICE_OBJECT *device, IRP *irp) packet.reportBufferLen = irpsp->Parameters.DeviceIoControl.InputBufferLength; TRACE_(hid_report)("(id %i, len %i buffer %p)\n", packet.reportId, packet.reportBufferLen, packet.reportBuffer); - rc = call_minidriver(IOCTL_HID_SET_FEATURE, device, NULL, 0, &packet, sizeof(packet)); + rc = call_minidriver(IOCTL_HID_SET_FEATURE, device, &packet, sizeof(packet), NULL, 0); irp->IoStatus.u.Status = rc; if (irp->IoStatus.u.Status == STATUS_SUCCESS) -- 2.11.4.GIT