Fix RtlIpv4StringToAddressW prototype and its caller in ws2_32.
[reactos.git] / include / host / nls.h
1 /*
2 PROJECT: ReactOS
3 LICENSE: GPL v2 or any later version
4 FILE: include/host/nls.h
5 PURPOSE: NLS definitions for host tools
6 COPYRIGHT: Copyright 2007 Colin Finck <mail@colinfinck.de>
7 */
8
9 #ifndef _HOST_NLS_H
10 #define _HOST_NLS_H
11
12 #include <host/typedefs.h>
13
14 typedef DWORD LCID;
15
16 #define MAKELANGID(p,s) ((((WORD)(s))<<10)|(WORD)(p))
17 #define PRIMARYLANGID(l) ((WORD)(l)&0x3ff)
18 #define SUBLANGID(l) ((WORD)(l)>>10)
19 #define LANGIDFROMLCID(l) ((WORD)(l))
20
21 #define CP_UTF8 65001
22
23 #define LANG_AFRIKAANS 0x36
24 #define LANG_ALBANIAN 0x1c
25 #define LANG_ARABIC 0x01
26 #define LANG_ARMENIAN 0x2b
27 #define LANG_ASSAMESE 0x4d
28 #define LANG_AZERI 0x2c
29 #define LANG_BASQUE 0x2d
30 #define LANG_BELARUSIAN 0x23
31 #define LANG_BENGALI 0x45
32 #define LANG_BULGARIAN 0x02
33 #define LANG_CATALAN 0x03
34 #define LANG_CHINESE 0x04
35 #define LANG_CROATIAN 0x1a
36 #define LANG_CZECH 0x05
37 #define LANG_DANISH 0x06
38 #define LANG_DIVEHI 0x65
39 #define LANG_DUTCH 0x13
40 #define LANG_ENGLISH 0x09
41 #define LANG_ESTONIAN 0x25
42 #define LANG_FAEROESE 0x38
43 #define LANG_FARSI 0x29
44 #define LANG_FINNISH 0x0b
45 #define LANG_FRENCH 0x0c
46 #define LANG_GALICIAN 0x56
47 #define LANG_GEORGIAN 0x37
48 #define LANG_GERMAN 0x07
49 #define LANG_GREEK 0x08
50 #define LANG_GUJARATI 0x47
51 #define LANG_HEBREW 0x0d
52 #define LANG_HINDI 0x39
53 #define LANG_HUNGARIAN 0x0e
54 #define LANG_ICELANDIC 0x0f
55 #define LANG_INDONESIAN 0x21
56 #define LANG_IRISH 0x3c
57 #define LANG_ITALIAN 0x10
58 #define LANG_JAPANESE 0x11
59 #define LANG_KANNADA 0x4b
60 #define LANG_KASHMIRI 0x60
61 #define LANG_KAZAK 0x3f
62 #define LANG_KONKANI 0x57
63 #define LANG_KOREAN 0x12
64 #define LANG_KYRGYZ 0x40
65 #define LANG_LATVIAN 0x26
66 #define LANG_LITHUANIAN 0x27
67 #define LANG_MACEDONIAN 0x2f
68 #define LANG_MANIPURI 0x58
69 #define LANG_MALAY 0x3e
70 #define LANG_MALAYALAM 0x4c
71 #define LANG_MARATHI 0x4e
72 #define LANG_MONGOLIAN 0x50
73 #define LANG_NEPALI 0x61
74 #define LANG_NEUTRAL 0x00
75 #define LANG_NORWEGIAN 0x14
76 #define LANG_ORIYA 0x48
77 #define LANG_POLISH 0x15
78 #define LANG_PORTUGUESE 0x16
79 #define LANG_PUNJABI 0x46
80 #define LANG_ROMANIAN 0x18
81 #define LANG_ROMANSH 0x17
82 #define LANG_RUSSIAN 0x19
83 #define LANG_SAMI 0x3b
84 #define LANG_SANSKRIT 0x4f
85 #define LANG_SERBIAN 0x1a
86 #define LANG_SINDHI 0x59
87 #define LANG_SLOVAK 0x1b
88 #define LANG_SLOVENIAN 0x24
89 #define LANG_SPANISH 0x0a
90 #define LANG_SWAHILI 0x41
91 #define LANG_SWEDISH 0x1d
92 #define LANG_SYRIAC 0x5a
93 #define LANG_TAJIK 0x28
94 #define LANG_TAMIL 0x49
95 #define LANG_TATAR 0x44
96 #define LANG_TELUGU 0x4a
97 #define LANG_THAI 0x1e
98 #define LANG_TURKISH 0x1f
99 #define LANG_UKRAINIAN 0x22
100 #define LANG_URDU 0x20
101 #define LANG_UZBEK 0x43
102 #define LANG_VIETNAMESE 0x2a
103
104 /* non standard; keep the number high enough (but < 0xff) */
105 #define LANG_ESPERANTO 0x8f
106 #define LANG_WALON 0x90
107 #define LANG_CORNISH 0x91
108 #define LANG_WELSH 0x92
109 #define LANG_BRETON 0x93
110
111 /* FIXME: these are not in the Windows header */
112 #define LANG_GAELIC 0x94
113 #define LANG_MALTESE 0x3a
114 #define LANG_RHAETO_ROMANCE 0x17
115 #define LANG_SAAMI 0x3b
116 #define LANG_SORBIAN 0x2e
117 #define LANG_LOWER_SORBIAN 0x2e
118 #define LANG_UPPER_SORBIAN 0x2e
119 #define LANG_SUTU 0x30
120 #define LANG_TSONGA 0x31
121 #define LANG_TSWANA 0x32
122 #define LANG_VENDA 0x33
123 #define LANG_XHOSA 0x34
124 #define LANG_ZULU 0x35
125
126 /* Sublanguages */
127 #define SUBLANG_AZERI_CYRILLIC 0x02
128 #define SUBLANG_CHINESE_SINGAPORE 0x04
129 #define SUBLANG_CHINESE_SIMPLIFIED 0x02
130 #define SUBLANG_DEFAULT 0x01
131 #define SUBLANG_NEUTRAL 0x00
132 #define SUBLANG_NORWEGIAN_NYNORSK 0x02
133 #define SUBLANG_SERBIAN_CYRILLIC 0x03
134 #define SUBLANG_UZBEK_CYRILLIC 0x02
135 #define SUBLANG_ENGLISH_US 0x01
136
137 #endif