"Mike McCormack" mike@codeweavers.com 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.