KERNEL32: add a test case for CompareStringW undocumented flag 0x10000000

Dmitry Timoshkov dmitry at
Sun Nov 21 20:18:21 CST 2004

"Mike McCormack" <mike at> wrote:

> The flag (0x10000000) passed to CompareString reverse the sort order of 
> a number of unicode characters.  I've got no idea why it would want to 
> do that... maybe somebody can shed some light on what the reason behind 
> this would be?

Just a shot in the dark: perhaps the flag is supposed to force CompareString
to make character reordering first (taking into account bidirectional layout)
and only then do an actual string comparison? Perhaps adding GetCharacterPlacement
with GCP_REORDER flag set and comparing the results would tell more.


More information about the wine-devel mailing list