[PATCH] include: Add new LCMAP constants

Alex Henrie alexhenrie24 at gmail.com
Tue Jan 12 03:56:45 CST 2021


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 include/winnls.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/winnls.h b/include/winnls.h
index e90b6f5a22f..6212ac01325 100644
--- a/include/winnls.h
+++ b/include/winnls.h
@@ -394,9 +394,12 @@ static const WCHAR LOCALE_NAME_SYSTEM_DEFAULT[] = {'!','s','y','s','-','d','e','
 /* String mapping flags */
 #define LCMAP_LOWERCASE  0x00000100	/* Make lower-case */
 #define LCMAP_UPPERCASE  0x00000200	/* Make upper-case */
+#define LCMAP_TITLECASE  0x00000300	/* Make title-case */
 #define LCMAP_SORTKEY    0x00000400	/* Create a sort key */
 #define LCMAP_BYTEREV    0x00000800	/* Reverse the result */
 
+#define LCMAP_HASH       0x00040000
+
 #define LCMAP_HIRAGANA   0x00100000	/* Transform Japanese katakana into hiragana */
 #define LCMAP_KATAKANA   0x00200000	/* Transform Japanese hiragana into katakana */
 #define LCMAP_HALFWIDTH  0x00400000	/* Use single byte chars in output */
@@ -406,6 +409,8 @@ static const WCHAR LOCALE_NAME_SYSTEM_DEFAULT[] = {'!','s','y','s','-','d','e','
 #define LCMAP_SIMPLIFIED_CHINESE  0x02000000 /* Transform Chinese traditional into simplified */
 #define LCMAP_TRADITIONAL_CHINESE 0x04000000 /* Transform Chinese simplified into traditional */
 
+#define LCMAP_SORTHANDLE 0x20000000
+
 /* Date and time formatting flags */
 #define DATE_SHORTDATE          0x01  /* Short date format */
 #define DATE_LONGDATE           0x02  /* Long date format */
-- 
2.30.0




More information about the wine-devel mailing list