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@codeweavers.com> Signed-off-by: Rémi Bernon <rbernon@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a9826b48e4
commit
d397f76338
|
@ -696,8 +696,6 @@ static NTSTATUS WINAPI driver_internal_ioctl( DEVICE_OBJECT *device, IRP *irp )
|
||||||
|
|
||||||
case IOCTL_HID_GET_STRING:
|
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") );
|
memcpy( irp->UserBuffer, L"Wine Test", sizeof(L"Wine Test") );
|
||||||
irp->IoStatus.Information = sizeof(L"Wine Test");
|
irp->IoStatus.Information = sizeof(L"Wine Test");
|
||||||
ret = STATUS_SUCCESS;
|
ret = STATUS_SUCCESS;
|
||||||
|
|
Loading…
Reference in New Issue