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

View file

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