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.