[PATCH 4/7] windows.gaming.input: Add stub dll.

Rémi Bernon rbernon at codeweavers.com
Wed Mar 17 08:33:55 CDT 2021


> +
> +    size = 0xdeadbeef;
> +    hr = IVectorView_Gamepad_get_Size(gamepads, &size);
> +    ok(SUCCEEDED(hr), "IVectorView_Gamepad_QueryInterface failed, hr %#x\n", hr);
> +    todo_wine ok(size != 0xdeadbeef, "IVectorView_Gamepad_get_Size returned %u\n", size);
> +
> +    rc = IVectorView_Gamepad_Release(gamepads);
> +    todo_wine ok(rc == 1, "IVectorView_Gamepad_Release returned unexpected refcount %d\n", rc);
> +

There's a typo in the message here and the refcount test could probably 
be dropped as I dropped the others. Compared to 
windows.media.speechsynthesis tests, refcount for these classes isn't 
always the same on the testbot Windows VMs, so it didn't seem very 
relevant to keep the tests.

However, I've got more tests to send with GamepadAdded/Removed event 
handlers as well as RawGameController runtimeclass, so unless there's 
some other changes to make elsewhere I'd rather not resend this series 
just for that.

Cheers,
-- 
Rémi Bernon <rbernon at codeweavers.com>



More information about the wine-devel mailing list