[PATCH 1/8] dinput/tests: Don't consider extra IOCTL_HID_GET_STRING an error.

Arkadiusz Hiler ahiler at codeweavers.com
Wed Jan 19 07:04:19 CST 2022


It's easy to get them on Windows depending what software/services are
running.

Signed-off-by: Arkadiusz Hiler <ahiler at codeweavers.com>
---
 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;
-- 
2.34.1




More information about the wine-devel mailing list