X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdll%2Fdirectx%2Fwine%2Fdinput%2Fkeyboard.c;h=ec7a58ade7ac93db358d20a4428ec6e7130a473b;hp=294ccfd755f290ce7352603b3a643e85a175f5af;hb=6130b8208be87689133c65ba539449abe5f91061;hpb=7a27ab062e4f000490ba9cb78ba229f1978934bf diff --git a/reactos/dll/directx/wine/dinput/keyboard.c b/reactos/dll/directx/wine/dinput/keyboard.c index 294ccfd755f..ec7a58ade7a 100644 --- a/reactos/dll/directx/wine/dinput/keyboard.c +++ b/reactos/dll/directx/wine/dinput/keyboard.c @@ -319,9 +319,7 @@ static HRESULT WINAPI SysKeyboardWImpl_GetDeviceState(LPDIRECTINPUTDEVICE8W ifac if (len != This->base.data_format.user_df->dwDataSize ) return DIERR_INVALIDPARAM; -#ifndef __REACTOS__ - __wine_check_for_events( QS_ALLINPUT ); -#endif + check_dinput_events(); EnterCriticalSection(&This->base.crit);