Christian Costa : winmm: Check param in joyConfigChanged.
Alexandre Julliard
julliard at winehq.org
Fri Jan 2 08:25:40 CST 2009
Module: wine
Branch: master
Commit: 6d8fdefb4a932b0047dae9bd17f27baff020adbf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6d8fdefb4a932b0047dae9bd17f27baff020adbf
Author: Christian Costa <titan.costa at wanadoo.fr>
Date: Wed Dec 31 17:29:17 2008 +0100
winmm: Check param in joyConfigChanged.
---
dlls/winmm/joystick.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/winmm/joystick.c b/dlls/winmm/joystick.c
index d5d620b..0173926 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;
}
More information about the wine-cvs
mailing list