Module: wine Branch: master Commit: 1b62b7f3c93dec8e6aba5b6f1f9ffaeafd6c83e1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1b62b7f3c93dec8e6aba5b6f1f...
Author: Aric Stewart aric@codeweavers.com Date: Tue Apr 5 08:43:43 2016 -0500
hidclass.sys: Correct input vs output parameters for IOCTL_HID_SET_FEATURE.
Signed-off-by: Aric Stewart aric@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 886a77a..2900d9e 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)