[PATCH] kernel32: Implement CompareStringOrdinal. (try 2)

Hans Leidekker hans at codeweavers.com
Tue Oct 30 03:18:10 CDT 2012


On Tue, 2012-10-30 at 08:42 +0100, Christian Costa wrote:
> > This is almost the same as your first try. You're testing a trivial 
> > case only - ASCII range.
> > I feel like it should behave more like memcmp for case insensitive 
> > comparison,
> > that's what documentation mildly suggests.
> >
> >
> Well, It's not the same implementation. It's ordinal now. I have test 
> for that.
> And how can memcmp be used for insensitive comparison?

Have a look at memicmpW.

> Do you have a concrete example that does not work with this implementation

How about CompareStringOrdinal( "a\0a", 3, "a\0b", 3 )?





More information about the wine-devel mailing list