winmm: Check param in joyConfigChanged

Christian Costa titan.costa at wanadoo.fr
Wed Dec 31 09:29:15 CST 2008


Alexandre Julliard a écrit :
> 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.
>
>   
It was just to reflect more the MSDN. Maybe it's not that usefull.





More information about the wine-devel mailing list