Author: fireball
Date: Wed Jan 16 20:05:31 2008
New Revision: 31828
URL:
http://svn.reactos.org/svn/reactos?rev=31828&view=rev
Log:
- Add more NLS definitions.
Modified:
trunk/reactos/include/host/nls.h
trunk/reactos/include/psdk/winnls.h
Modified: trunk/reactos/include/host/nls.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/host/nls.h?rev=318…
==============================================================================
--- trunk/reactos/include/host/nls.h (original)
+++ trunk/reactos/include/host/nls.h Wed Jan 16 20:05:31 2008
@@ -17,6 +17,8 @@
#define PRIMARYLANGID(l) ((WORD)(l)&0x3ff)
#define SUBLANGID(l) ((WORD)(l)>>10)
#define LANGIDFROMLCID(l) ((WORD)(l))
+
+#define CP_UTF8 65001
#define LANG_AFRIKAANS 0x36
#define LANG_ALBANIAN 0x1c
@@ -130,5 +132,6 @@
#define SUBLANG_NORWEGIAN_NYNORSK 0x02
#define SUBLANG_SERBIAN_CYRILLIC 0x03
#define SUBLANG_UZBEK_CYRILLIC 0x02
+#define SUBLANG_ENGLISH_US 0x01
#endif
Modified: trunk/reactos/include/psdk/winnls.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winnls.h?rev=…
==============================================================================
--- trunk/reactos/include/psdk/winnls.h (original)
+++ trunk/reactos/include/psdk/winnls.h Wed Jan 16 20:05:31 2008
@@ -152,6 +152,14 @@
#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