LINGUISTIC_IGNORECASE should be added first instead of using a hex value,"Nicolas Le Cam" <niko.lecam@gmail.com> 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] http://msdn.microsoft.com/en-us/library/ms647476.aspx
and CompareString implementation should handle that flag as well.
--
Dmitry.