winmm: Check param in joyConfigChanged
Alexandre Julliard
julliard at winehq.org
Wed Dec 31 07:43:56 CST 2008
Christian Costa <titan.costa at wanadoo.fr> writes:
> -MMRESULT WINAPI joyConfigChanged(DWORD flags)
> +MMRESULT WINAPI joyConfigChanged(DWORD dwFlags)
> {
> - FIXME("(%x) - stub\n", flags);
> + FIXME("(%x) - stub\n", dwFlags);
> +
> + if (dwFlags)
> + return JOYERR_PARMS;
There's no reason to rename the parameter, 'flags' is a perfectly good
name.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list