dinput: Remove MsgWaitForMultipleObjects calls.

This commit is contained in:
Vitaliy Margolen 2006-12-27 16:30:39 -07:00 committed by Alexandre Julliard
parent cb42253ff3
commit b22ff8018a
1 changed files with 2 additions and 6 deletions

View File

@ -284,8 +284,6 @@ static HRESULT WINAPI SysKeyboardAImpl_GetDeviceState(
if (len != WINE_DINPUT_KEYBOARD_MAX_KEYS)
return DIERR_INVALIDPARAM;
MsgWaitForMultipleObjectsEx(0, NULL, 0, QS_ALLINPUT, 0);
EnterCriticalSection(&This->base.crit);
if (TRACE_ON(dinput)) {
@ -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 =