Commit b22ff801 authored by Vitaliy Margolen's avatar Vitaliy Margolen Committed by Alexandre Julliard

dinput: Remove MsgWaitForMultipleObjects calls.

parent cb42253f
......@@ -282,9 +282,7 @@ static HRESULT WINAPI SysKeyboardAImpl_GetDeviceState(
if (!This->base.acquired) return DIERR_NOTACQUIRED;
if (len != WINE_DINPUT_KEYBOARD_MAX_KEYS)
return DIERR_INVALIDPARAM;
MsgWaitForMultipleObjectsEx(0, NULL, 0, QS_ALLINPUT, 0);
return DIERR_INVALIDPARAM;
EnterCriticalSection(&This->base.crit);
......@@ -548,9 +546,7 @@ static HRESULT WINAPI SysKeyboardAImpl_Poll(LPDIRECTINPUTDEVICE8A iface)
TRACE("(%p)\n",This);
if (!This->base.acquired) return DIERR_NOTACQUIRED;
MsgWaitForMultipleObjectsEx(0, NULL, 0, QS_ALLINPUT, 0);
return DI_OK;
return DI_NOEFFECT;
}
static const IDirectInputDevice8AVtbl SysKeyboardAvt =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment