[PATCH 5/6] windows.gaming.input: Fake empty IGamepadStatics::Gamepads vector.

Jacek Caban jacek at codeweavers.com
Thu Mar 18 09:43:46 CDT 2021


Hi Rémi,

On 18.03.2021 09:58, Rémi Bernon wrote:
>       IVectorView_Gamepad *iface, ULONG index, IGamepad **value)
>   {
>       FIXME("iface %p, index %#x, value %p stub!\n", iface, index, value);
> -    return E_NOTIMPL;
> +    return S_OK;


Do you need this (and GetMany) when you report 0 size anyway? Returning 
success and not setting output value is problematic. As long as we fake 
0 size, it looks to me that something like E_BOUNDS would be more 
appropriate.


Jacek




More information about the wine-devel mailing list