From 78150156e2a860f67cc851aab7dde363b80afe3f Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Wed, 16 Jan 2008 17:05:31 +0000 Subject: [PATCH] - Add more NLS definitions. svn path=/trunk/; revision=31828 --- reactos/include/host/nls.h | 3 +++ reactos/include/psdk/winnls.h | 8 ++++++++ 2 files changed, 11 insertions(+) diff --git a/reactos/include/host/nls.h b/reactos/include/host/nls.h index 041327b8a93..d9f79136c74 100644 --- a/reactos/include/host/nls.h +++ b/reactos/include/host/nls.h @@ -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 diff --git a/reactos/include/psdk/winnls.h b/reactos/include/psdk/winnls.h index b9505e83ecb..f0c815a830d 100644 --- a/reactos/include/psdk/winnls.h +++ b/reactos/include/psdk/winnls.h @@ -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