Commit ecf6a16b authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

hidclass.sys: Return irp->IoStatus.Information from minidriver.

parent 00008c9d
......@@ -526,12 +526,7 @@ NTSTATUS WINAPI pdo_ioctl(DEVICE_OBJECT *device, IRP *irp)
sizeof(*packet), &irp->IoStatus );
if (irp->IoStatus.Status == STATUS_SUCCESS)
{
irp->IoStatus.Status = copy_packet_into_buffer( packet, buffer, buffer_len, &out_length );
irp->IoStatus.Information = out_length;
}
else
irp->IoStatus.Information = 0;
free(packet);
break;
}
......
......@@ -2475,7 +2475,7 @@ static void test_hidp(HANDLE file, HANDLE async_file, int report_id, BOOL polled
value = caps.InputReportByteLength * 2;
ret = sync_ioctl(file, IOCTL_HID_GET_INPUT_REPORT, NULL, 0, report, &value);
ok(ret, "IOCTL_HID_GET_INPUT_REPORT failed, last error %u\n", GetLastError());
todo_wine ok(value == 3, "got length %u, expected 3\n", value);
ok(value == 3, "got length %u, expected 3\n", value);
ok(report[0] == report_id, "got report[0] %02x, expected %02x\n", report[0], report_id);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment