kernel32: Add more flags for CompareString().

Francois Gouget fgouget at codeweavers.com
Mon Sep 24 06:04:00 CDT 2012


And fix the name of SORT_STRINGSORT.
---
 include/winnls.h |   16 ++++++++++------
 1 file 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
-- 
1.7.10.4




More information about the wine-patches mailing list