Preventing spurious failures on some Windows 7 VMs.
From: Rémi Bernon rbernon@codeweavers.com
Preventing spurious failures on some Windows 7 VMs.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=54713 --- dlls/dinput/tests/device8.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/dinput/tests/device8.c b/dlls/dinput/tests/device8.c index c50f6e4681a..ea0ec8db837 100644 --- a/dlls/dinput/tests/device8.c +++ b/dlls/dinput/tests/device8.c @@ -549,6 +549,7 @@ static void test_mouse_keyboard(void)
hwnd = CreateWindowExA(WS_EX_TOPMOST, "static", "dinput", WS_POPUP | WS_VISIBLE, 0, 0, 100, 100, NULL, NULL, NULL, NULL); ok(hwnd != NULL, "CreateWindowExA failed\n"); + flush_events();
hr = CoCreateInstance(&CLSID_DirectInput8, 0, CLSCTX_INPROC_SERVER, &IID_IDirectInput8A, (LPVOID*)&di); if (hr == DIERR_OLDDIRECTINPUTVERSION ||