kernel32/tests: Fix a failing test in vista

Nicolas Le Cam niko.lecam at
Mon Jul 21 10:26:48 CDT 2008

(resending as I forgot to CC to wine-devel)

This test is here to test handling of incorrect flags. So a hex value is
necessary as even any combination of know values are correct according to
msdn. Sorry if I wasn't clear enough. I'm new to wine and English isn't my
first language.

I can add LINGUISTIC_IGNORECASE and other new definitions and try to
implement handling of those new flags in CompareString but IMHO it's a
different task.

2008/7/21 Dmitry Timoshkov <dmitry at>:

> "Nicolas Le Cam" <niko.lecam at> wrote:
>  Vista introduced new flags for CompareString, as stated in [1].
>> The value defined for LINGUISTIC_IGNORECASE is 0x10. So the invalid flag
>> test don't fail as expected starting from this platform.
>> [1]
> LINGUISTIC_IGNORECASE should be added first instead of using a hex value,
> and CompareString implementation should handle that flag as well.
> --
> Dmitry.
-------------- next part --------------
An HTML attachment was scrubbed...

More information about the wine-devel mailing list