From 6d8fdefb4a932b0047dae9bd17f27baff020adbf Mon Sep 17 00:00:00 2001 From: Christian Costa Date: Wed, 31 Dec 2008 17:29:17 +0100 Subject: [PATCH] winmm: Check param in joyConfigChanged. --- dlls/winmm/joystick.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/winmm/joystick.c b/dlls/winmm/joystick.c index d5d620b5892..01739263eb4 100644 --- a/dlls/winmm/joystick.c +++ b/dlls/winmm/joystick.c @@ -126,6 +126,10 @@ static void CALLBACK JOY_Timer(HWND hWnd, UINT wMsg, UINT_PTR wTimer, DWORD dwTi MMRESULT WINAPI joyConfigChanged(DWORD flags) { FIXME("(%x) - stub\n", flags); + + if (flags) + return JOYERR_PARMS; + return JOYERR_NOERROR; } -- 2.11.4.GIT