- Add more NLS definitions.
authorAleksey Bragin <aleksey@reactos.org>
Wed, 16 Jan 2008 17:05:31 +0000 (17:05 +0000)
committerAleksey Bragin <aleksey@reactos.org>
Wed, 16 Jan 2008 17:05:31 +0000 (17:05 +0000)
svn path=/trunk/; revision=31828

reactos/include/host/nls.h
reactos/include/psdk/winnls.h

index 041327b..d9f7913 100644 (file)
@@ -18,6 +18,8 @@ typedef DWORD LCID;
 #define SUBLANGID(l)         ((WORD)(l)>>10)
 #define LANGIDFROMLCID(l)    ((WORD)(l))
 
+#define CP_UTF8 65001
+
 #define LANG_AFRIKAANS       0x36
 #define LANG_ALBANIAN        0x1c
 #define LANG_ARABIC          0x01
@@ -130,5 +132,6 @@ typedef DWORD LCID;
 #define SUBLANG_NORWEGIAN_NYNORSK   0x02
 #define SUBLANG_SERBIAN_CYRILLIC    0x03
 #define SUBLANG_UZBEK_CYRILLIC      0x02
+#define SUBLANG_ENGLISH_US   0x01
 
 #endif
index b9505e8..f0c815a 100644 (file)
@@ -152,6 +152,14 @@ extern "C" {
 #define MAP_FOLDDIGITS 128
 #define MAP_PRECOMPOSED 32
 #define MAP_COMPOSITE 64
+
+#define WC_DISCARDNS         0x0010
+#define WC_SEPCHARS          0x0020
+#define WC_DEFAULTCHAR       0x0040
+#define WC_ERR_INVALID_CHARS 0x0080
+#define WC_COMPOSITECHECK    0x0200
+#define WC_NO_BEST_FIT_CHARS 0x0400
+
 #define CP_ACP 0
 #define CP_OEMCP 1
 #define CP_MACCP 2