Arkadiusz Hiler : dinput/tests: Don't consider extra IOCTL_HID_GET_STRING an error.
Alexandre Julliard
julliard at winehq.org
Wed Jan 19 15:57:46 CST 2022
Module: wine
Branch: master
Commit: d397f763384c909d2516c8085d86d85d7d22a3e1
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d397f763384c909d2516c8085d86d85d7d22a3e1
Author: Arkadiusz Hiler <ahiler at codeweavers.com>
Date: Wed Jan 19 15:04:19 2022 +0200
dinput/tests: Don't consider extra IOCTL_HID_GET_STRING an error.
It's easy to get them on Windows depending what software/services are
running.
Signed-off-by: Arkadiusz Hiler <ahiler at codeweavers.com>
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/dinput/tests/driver_hid.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/dlls/dinput/tests/driver_hid.c b/dlls/dinput/tests/driver_hid.c
index 84b84101592..b8651331fda 100644
--- a/dlls/dinput/tests/driver_hid.c
+++ b/dlls/dinput/tests/driver_hid.c
@@ -696,8 +696,6 @@ static NTSTATUS WINAPI driver_internal_ioctl( DEVICE_OBJECT *device, IRP *irp )
case IOCTL_HID_GET_STRING:
{
- static unsigned int once;
- if (!once++) todo_wine ok( 0, "unexpected IOCTL_HID_GET_STRING\n" );
memcpy( irp->UserBuffer, L"Wine Test", sizeof(L"Wine Test") );
irp->IoStatus.Information = sizeof(L"Wine Test");
ret = STATUS_SUCCESS;
More information about the wine-cvs
mailing list