[PATCH] winmm: Don't mask out SND_ALIAS_ID or SND_FILENAME in sndPlaySound
Dmitry Timoshkov
dmitry at baikal.ru
Wed Dec 5 09:06:48 CST 2012
Andrew Eikum <aeikum at codeweavers.com> wrote:
> > > + br = sndPlaySoundA((LPCSTR)SND_ALIAS_SYSTEMASTERISK, SND_ALIAS_ID|SND_SYNC);
> > > + ok(br == TRUE || br == FALSE, "sndPlaySound gave strange return: %u\n", br);
> >
> > This kind of test is broken.
> >
>
> Care to elaborate? Being this terse helps no one.
What is this code testing the return value for? Why are there all these casts?
--
Dmitry.
More information about the wine-devel
mailing list