Rémi Bernon : dinput8/tests: Don't expect any IOCTL_HID_GET_STRING call.

Alexandre Julliard julliard at winehq.org
Tue Sep 14 16:00:13 CDT 2021


Module: wine
Branch: master
Commit: 880d7a11d780e2a04379000b38a86ae34d5dc93a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=880d7a11d780e2a04379000b38a86ae34d5dc93a

Author: Rémi Bernon <rbernon at codeweavers.com>
Date:   Tue Sep 14 10:38:40 2021 +0200

dinput8/tests: Don't expect any IOCTL_HID_GET_STRING call.

Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dinput8/tests/driver_hid.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/dlls/dinput8/tests/driver_hid.c b/dlls/dinput8/tests/driver_hid.c
index cbaa1e89959..28694e5a4c6 100644
--- a/dlls/dinput8/tests/driver_hid.c
+++ b/dlls/dinput8/tests/driver_hid.c
@@ -568,9 +568,8 @@ static NTSTATUS WINAPI driver_internal_ioctl( DEVICE_OBJECT *device, IRP *irp )
     }
 
     case IOCTL_HID_GET_STRING:
-        ok( !in_size, "got input size %u\n", in_size );
-        ok( out_size == 128, "got output size %u\n", out_size );
-
+        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