dinput: Correct test - use appropriate mouse state structure.

This commit is contained in:
Vitaliy Margolen 2007-07-06 07:25:47 -06:00 committed by Alexandre Julliard
parent 1d5575b905
commit 1f72c13a5a
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ static void test_acquire(LPDIRECTINPUT pDI, HWND hwnd)
{ {
HRESULT hr; HRESULT hr;
LPDIRECTINPUTDEVICE pMouse = NULL; LPDIRECTINPUTDEVICE pMouse = NULL;
DIMOUSESTATE2 m_state; DIMOUSESTATE m_state;
hr = IDirectInput_CreateDevice(pDI, &GUID_SysMouse, &pMouse, NULL); hr = IDirectInput_CreateDevice(pDI, &GUID_SysMouse, &pMouse, NULL);
ok(SUCCEEDED(hr), "IDirectInput_CreateDevice() failed: %s\n", DXGetErrorString8(hr)); ok(SUCCEEDED(hr), "IDirectInput_CreateDevice() failed: %s\n", DXGetErrorString8(hr));