~ubuntu-branches/ubuntu/vivid/wine/vivid

« back to all changes in this revision

Viewing changes to dlls/dinput/tests/keyboard.c

  • Committer: Bazaar Package Importer
  • Author(s): Scott Ritchie
  • Date: 2008-05-30 08:48:53 UTC
  • mfrom: (1.1.40 upstream)
  • Revision ID: james.westby@ubuntu.com-20080530084853-eoabeo8m5ai49vb5
Tags: 1.0-rc3-1ubuntu1
* New upstream release
  - Bugfixes only due to feature freeze pending 1.0 release

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
    ok(SUCCEEDED(hr), "IDirectInputDevice_SetDataFormat() failed: %s\n", DXGetErrorString8(hr));
117
117
    hr = IDirectInputDevice_Acquire(pKeyboard);
118
118
    ok(SUCCEEDED(hr), "IDirectInputDevice_Acquire() failed: %s\n", DXGetErrorString8(hr));
119
 
    todo_wine
120
 
        {
121
 
            hr = IDirectInputDevice_GetDeviceState(pKeyboard, sizeof(custom_state), custom_state);
122
 
            ok(SUCCEEDED(hr), "IDirectInputDevice_GetDeviceState(4,) failed: %s\n", DXGetErrorString8(hr));
123
 
            hr = IDirectInputDevice_GetDeviceState(pKeyboard, sizeof(kbd_state), kbd_state);
124
 
            ok(hr == DIERR_INVALIDPARAM, "IDirectInputDevice_GetDeviceState(256,) should have failed: %s\n", DXGetErrorString8(hr));
125
 
        }
 
119
    hr = IDirectInputDevice_GetDeviceState(pKeyboard, sizeof(custom_state), custom_state);
 
120
    ok(SUCCEEDED(hr), "IDirectInputDevice_GetDeviceState(4,) failed: %s\n", DXGetErrorString8(hr));
 
121
    hr = IDirectInputDevice_GetDeviceState(pKeyboard, sizeof(kbd_state), kbd_state);
 
122
    ok(hr == DIERR_INVALIDPARAM, "IDirectInputDevice_GetDeviceState(256,) should have failed: %s\n", DXGetErrorString8(hr));
126
123
 
127
124
    if (pKeyboard) IUnknown_Release(pKeyboard);
128
125
}