Module: wine Branch: master Commit: 4927f9595f761db454be21a6cbff2ef5f64706ff URL: http://source.winehq.org/git/wine.git/?a=commit;h=4927f9595f761db454be21a6cb...
Author: Francois Gouget fgouget@codeweavers.com Date: Mon Sep 24 13:04:00 2012 +0200
kernel32: Add more flags for CompareString().
And fix the name of SORT_STRINGSORT.
---
include/winnls.h | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/include/winnls.h b/include/winnls.h index d6bbc13..71b5a8f 100644 --- a/include/winnls.h +++ b/include/winnls.h @@ -342,12 +342,16 @@ static const WCHAR LOCALE_NAME_SYSTEM_DEFAULT[] = {'!','s','y','s','-','d','e','
#define LOCALE_IDEFAULTUNIXCODEPAGE 0x1030 /* Wine extension */
-#define NORM_IGNORECASE 0x00001 -#define NORM_IGNORENONSPACE 0x00002 -#define NORM_IGNORESYMBOLS 0x00004 -#define NORM_STRINGSORT 0x01000 -#define NORM_IGNOREKANATYPE 0x10000 -#define NORM_IGNOREWIDTH 0x20000 +#define NORM_IGNORECASE 0x00000001 +#define NORM_IGNORENONSPACE 0x00000002 +#define NORM_IGNORESYMBOLS 0x00000004 +#define SORT_DIGITSASNUMBERS 0x00000008 +#define LINGUISTIC_IGNORECASE 0x00000010 +#define LINGUISTIC_IGNOREDIACRITIC 0x00000020 +#define SORT_STRINGSORT 0x00001000 +#define NORM_IGNOREKANATYPE 0x00010000 +#define NORM_IGNOREWIDTH 0x00020000 +#define NORM_LINGUISTIC_CASING 0x08000000
#define CP_ACP 0 #define CP_OEMCP 1