SysMouseAImpl_Unacquire should return DI_NOEFFECT if the device is not

in an acquired state.
This commit is contained in:
Hannu Valtonen 2003-10-28 21:08:31 +00:00 committed by Alexandre Julliard
parent 55f2dac059
commit 897beee52d
1 changed files with 2 additions and 2 deletions

View File

@ -660,7 +660,7 @@ static HRESULT WINAPI SysMouseAImpl_Unacquire(LPDIRECTINPUTDEVICE8A iface)
This->acquired = 0;
}
else
ERR("Unacquiring a not-acquired device !!!\n");
return DI_NOEFFECT;
return DI_OK;
}