dinput/tests: Add test to show dinput does not use user defined data format for keyboard.

Vitaliy Margolen wine-devel at kievinfo.com
Wed Apr 16 21:22:02 CDT 2008


Sergey Khodych wrote:
> 
> +    hr = IDirectInputDevice_GetDeviceState(pKeyboard, sizeof(custom_state), custom_state);
> +    ok(SUCCEEDED(hr), "IDirectInputDevice_GetDeviceState(4,) failed: %s\n", DXGetErrorString8(hr));
> +    hr = IDirectInputDevice_GetDeviceState(pKeyboard, sizeof(kbd_state), kbd_state);
> +    ok(hr == DIERR_INVALIDPARAM, "IDirectInputDevice_GetDeviceState(256,) should have failed: %s\n", DXGetErrorString8(hr));

When you add tests that fail on Wine, you need to add todo_wine at front of 
them so "make test" will still succeed.

Vitaliy.



More information about the wine-devel mailing list