1 | /*
|
---|
2 | * Win32 definitions for Windows NT
|
---|
3 | *
|
---|
4 | * Copyright 1996 Alexandre Julliard
|
---|
5 | *
|
---|
6 | * This library is free software; you can redistribute it and/or
|
---|
7 | * modify it under the terms of the GNU Lesser General Public
|
---|
8 | * License as published by the Free Software Foundation; either
|
---|
9 | * version 2.1 of the License, or (at your option) any later version.
|
---|
10 | *
|
---|
11 | * This library is distributed in the hope that it will be useful,
|
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
14 | * Lesser General Public License for more details.
|
---|
15 | *
|
---|
16 | * You should have received a copy of the GNU Lesser General Public
|
---|
17 | * License along with this library; if not, write to the Free Software
|
---|
18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
19 | */
|
---|
20 |
|
---|
21 | /*
|
---|
22 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
23 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
24 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
25 | * a choice of LGPL license versions is made available with the language indicating
|
---|
26 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
27 | * of the LGPL is applied is otherwise unspecified.
|
---|
28 | */
|
---|
29 |
|
---|
30 |
|
---|
31 | /* These are only defined for Winelib, i.e. _not_ defined for
|
---|
32 | * the emulator. The reason is they depend on the UNICODE
|
---|
33 | * macro which only exists in the user's code.
|
---|
34 | */
|
---|
35 | #ifndef WINE_NO_UNICODE_MACROS
|
---|
36 | # ifdef UNICODE
|
---|
37 | # define __TEXT(string) L##string
|
---|
38 | # else
|
---|
39 | # define __TEXT(string) string
|
---|
40 | # endif
|
---|
41 | # define TEXT(string) __TEXT(string)
|
---|
42 | #endif
|
---|
43 |
|
---|
44 |
|
---|
45 | /* Language definitions */
|
---|
46 | #define LANG_NEUTRAL 0x00
|
---|
47 | #define LANG_INVARIANT 0x7f
|
---|
48 |
|
---|
49 | #define LANG_AFRIKAANS 0x36
|
---|
50 | #define LANG_ALBANIAN 0x1c
|
---|
51 | #define LANG_ALSATIAN 0x84
|
---|
52 | #define LANG_AMHARIC 0x5e
|
---|
53 | #define LANG_ARABIC 0x01
|
---|
54 | #define LANG_ARMENIAN 0x2b
|
---|
55 | #define LANG_ASSAMESE 0x4d
|
---|
56 | #define LANG_AZERI 0x2c
|
---|
57 | #define LANG_BASHKIR 0x6d
|
---|
58 | #define LANG_BASQUE 0x2d
|
---|
59 | #define LANG_BELARUSIAN 0x23
|
---|
60 | #define LANG_BENGALI 0x45
|
---|
61 | #define LANG_BOSNIAN 0x1a
|
---|
62 | #define LANG_BOSNIAN_NEUTRAL 0x781a
|
---|
63 | #define LANG_BRETON 0x7e
|
---|
64 | #define LANG_BULGARIAN 0x02
|
---|
65 | #define LANG_CATALAN 0x03
|
---|
66 | #define LANG_CHINESE 0x04
|
---|
67 | #define LANG_CHINESE_SIMPLIFIED 0x0004
|
---|
68 | #define LANG_CHINESE_TRADITIONAL 0x7c04
|
---|
69 | #define LANG_CORSICAN 0x83
|
---|
70 | #define LANG_CROATIAN 0x1a
|
---|
71 | #define LANG_CZECH 0x05
|
---|
72 | #define LANG_DANISH 0x06
|
---|
73 | #define LANG_DARI 0x8c
|
---|
74 | #define LANG_DIVEHI 0x65
|
---|
75 | #define LANG_DUTCH 0x13
|
---|
76 | #define LANG_ENGLISH 0x09
|
---|
77 | #define LANG_ESTONIAN 0x25
|
---|
78 | #define LANG_FAEROESE 0x38
|
---|
79 | #define LANG_FARSI LANG_PERSIAN
|
---|
80 | #define LANG_FILIPINO 0x64
|
---|
81 | #define LANG_FINNISH 0x0b
|
---|
82 | #define LANG_FRENCH 0x0c
|
---|
83 | #define LANG_FRISIAN 0x62
|
---|
84 | #define LANG_GALICIAN 0x56
|
---|
85 | #define LANG_GEORGIAN 0x37
|
---|
86 | #define LANG_GERMAN 0x07
|
---|
87 | #define LANG_GREEK 0x08
|
---|
88 | #define LANG_GREENLANDIC 0x6f
|
---|
89 | #define LANG_GUJARATI 0x47
|
---|
90 | #define LANG_HAUSA 0x68
|
---|
91 | #define LANG_HEBREW 0x0d
|
---|
92 | #define LANG_HINDI 0x39
|
---|
93 | #define LANG_HUNGARIAN 0x0e
|
---|
94 | #define LANG_ICELANDIC 0x0f
|
---|
95 | #define LANG_IGBO 0x70
|
---|
96 | #define LANG_INDONESIAN 0x21
|
---|
97 | #define LANG_INUKTITUT 0x5d
|
---|
98 | #define LANG_IRISH 0x3c
|
---|
99 | #define LANG_ITALIAN 0x10
|
---|
100 | #define LANG_JAPANESE 0x11
|
---|
101 | #define LANG_KANNADA 0x4b
|
---|
102 | #define LANG_KASHMIRI 0x60
|
---|
103 | #define LANG_KAZAK 0x3f
|
---|
104 | #define LANG_KHMER 0x53
|
---|
105 | #define LANG_KICHE 0x86
|
---|
106 | #define LANG_KINYARWANDA 0x87
|
---|
107 | #define LANG_KONKANI 0x57
|
---|
108 | #define LANG_KOREAN 0x12
|
---|
109 | #define LANG_KYRGYZ 0x40
|
---|
110 | #define LANG_LAO 0x54
|
---|
111 | #define LANG_LATVIAN 0x26
|
---|
112 | #define LANG_LITHUANIAN 0x27
|
---|
113 | #define LANG_LOWER_SORBIAN 0x2e
|
---|
114 | #define LANG_LUXEMBOURGISH 0x6e
|
---|
115 | #define LANG_MACEDONIAN 0x2f
|
---|
116 | #define LANG_MALAY 0x3e
|
---|
117 | #define LANG_MALAYALAM 0x4c
|
---|
118 | #define LANG_MALTESE 0x3a
|
---|
119 | #define LANG_MANIPURI 0x58
|
---|
120 | #define LANG_MAORI 0x81
|
---|
121 | #define LANG_MAPUDUNGUN 0x7a
|
---|
122 | #define LANG_MARATHI 0x4e
|
---|
123 | #define LANG_MOHAWK 0x7c
|
---|
124 | #define LANG_MONGOLIAN 0x50
|
---|
125 | #define LANG_NEPALI 0x61
|
---|
126 | #define LANG_NORWEGIAN 0x14
|
---|
127 | #define LANG_OCCITAN 0x82
|
---|
128 | #define LANG_ORIYA 0x48
|
---|
129 | #define LANG_PASHTO 0x63
|
---|
130 | #define LANG_PERSIAN 0x29
|
---|
131 | #define LANG_POLISH 0x15
|
---|
132 | #define LANG_PORTUGUESE 0x16
|
---|
133 | #define LANG_PUNJABI 0x46
|
---|
134 | #define LANG_QUECHUA 0x6b
|
---|
135 | #define LANG_ROMANIAN 0x18
|
---|
136 | #define LANG_ROMANSH 0x17
|
---|
137 | #define LANG_RUSSIAN 0x19
|
---|
138 | #define LANG_SAMI 0x3b
|
---|
139 | #define LANG_SANSKRIT 0x4f
|
---|
140 | #define LANG_SCOTTISH_GAELIC 0x91
|
---|
141 | #define LANG_SERBIAN 0x1a
|
---|
142 | #define LANG_SERBIAN_NEUTRAL 0x7c1a
|
---|
143 | #define LANG_SINDHI 0x59
|
---|
144 | #define LANG_SINHALESE 0x5b
|
---|
145 | #define LANG_SLOVAK 0x1b
|
---|
146 | #define LANG_SLOVENIAN 0x24
|
---|
147 | #define LANG_SOTHO 0x6c
|
---|
148 | #define LANG_SPANISH 0x0a
|
---|
149 | #define LANG_SWAHILI 0x41
|
---|
150 | #define LANG_SWEDISH 0x1d
|
---|
151 | #define LANG_SYRIAC 0x5a
|
---|
152 | #define LANG_TAJIK 0x28
|
---|
153 | #define LANG_TAMAZIGHT 0x5f
|
---|
154 | #define LANG_TAMIL 0x49
|
---|
155 | #define LANG_TATAR 0x44
|
---|
156 | #define LANG_TELUGU 0x4a
|
---|
157 | #define LANG_THAI 0x1e
|
---|
158 | #define LANG_TIBETAN 0x51
|
---|
159 | #define LANG_TIGRIGNA 0x73
|
---|
160 | #define LANG_TSWANA 0x32
|
---|
161 | #define LANG_TURKISH 0x1f
|
---|
162 | #define LANG_TURKMEN 0x42
|
---|
163 | #define LANG_UIGHUR 0x80
|
---|
164 | #define LANG_UKRAINIAN 0x22
|
---|
165 | #define LANG_UPPER_SORBIAN 0x2e
|
---|
166 | #define LANG_URDU 0x20
|
---|
167 | #define LANG_UZBEK 0x43
|
---|
168 | #define LANG_VIETNAMESE 0x2a
|
---|
169 | #define LANG_WELSH 0x52
|
---|
170 | #define LANG_WOLOF 0x88
|
---|
171 | #define LANG_XHOSA 0x34
|
---|
172 | #define LANG_YAKUT 0x85
|
---|
173 | #define LANG_YI 0x78
|
---|
174 | #define LANG_YORUBA 0x6a
|
---|
175 | #define LANG_ZULU 0x35
|
---|
176 |
|
---|
177 | /* These are documented by the MSDN but are missing from the Windows header */
|
---|
178 | #define LANG_MALAGASY 0x8d
|
---|
179 |
|
---|
180 | /* FIXME: these are not defined anywhere */
|
---|
181 | #define LANG_SUTU 0x30
|
---|
182 | #define LANG_TSONGA 0x31
|
---|
183 | #define LANG_VENDA 0x33
|
---|
184 |
|
---|
185 | /* non standard; keep the number high enough (but < 0xff) */
|
---|
186 | #define LANG_ESPERANTO 0x8f
|
---|
187 | #define LANG_WALON 0x90
|
---|
188 | #define LANG_CORNISH 0x92
|
---|
189 | #define LANG_MANX_GAELIC 0x94
|
---|
190 |
|
---|
191 | /* Sublanguage definitions */
|
---|
192 | #define SUBLANG_NEUTRAL 0x00 /* language neutral */
|
---|
193 | #define SUBLANG_DEFAULT 0x01 /* user default */
|
---|
194 | #define SUBLANG_SYS_DEFAULT 0x02 /* system default */
|
---|
195 | #define SUBLANG_CUSTOM_DEFAULT 0x03
|
---|
196 | #define SUBLANG_CUSTOM_UNSPECIFIED 0x04
|
---|
197 | #define SUBLANG_UI_CUSTOM_DEFAULT 0x05
|
---|
198 |
|
---|
199 | #define SUBLANG_AFRIKAANS_SOUTH_AFRICA 0x01
|
---|
200 | #define SUBLANG_ALBANIAN_ALBANIA 0x01
|
---|
201 | #define SUBLANG_ALSATIAN_FRANCE 0x01
|
---|
202 | #define SUBLANG_AMHARIC_ETHIOPIA 0x01
|
---|
203 | #define SUBLANG_ARABIC_SAUDI_ARABIA 0x01
|
---|
204 | #define SUBLANG_ARABIC_IRAQ 0x02
|
---|
205 | #define SUBLANG_ARABIC_EGYPT 0x03
|
---|
206 | #define SUBLANG_ARABIC_LIBYA 0x04
|
---|
207 | #define SUBLANG_ARABIC_ALGERIA 0x05
|
---|
208 | #define SUBLANG_ARABIC_MOROCCO 0x06
|
---|
209 | #define SUBLANG_ARABIC_TUNISIA 0x07
|
---|
210 | #define SUBLANG_ARABIC_OMAN 0x08
|
---|
211 | #define SUBLANG_ARABIC_YEMEN 0x09
|
---|
212 | #define SUBLANG_ARABIC_SYRIA 0x0a
|
---|
213 | #define SUBLANG_ARABIC_JORDAN 0x0b
|
---|
214 | #define SUBLANG_ARABIC_LEBANON 0x0c
|
---|
215 | #define SUBLANG_ARABIC_KUWAIT 0x0d
|
---|
216 | #define SUBLANG_ARABIC_UAE 0x0e
|
---|
217 | #define SUBLANG_ARABIC_BAHRAIN 0x0f
|
---|
218 | #define SUBLANG_ARABIC_QATAR 0x10
|
---|
219 | #define SUBLANG_ARMENIAN_ARMENIA 0x01
|
---|
220 | #define SUBLANG_ASSAMESE_INDIA 0x01
|
---|
221 | #define SUBLANG_AZERI_LATIN 0x01
|
---|
222 | #define SUBLANG_AZERI_CYRILLIC 0x02
|
---|
223 | #define SUBLANG_BASHKIR_RUSSIA 0x01
|
---|
224 | #define SUBLANG_BASQUE_BASQUE 0x01
|
---|
225 | #define SUBLANG_BELARUSIAN_BELARUS 0x01
|
---|
226 | #define SUBLANG_BENGALI_INDIA 0x01
|
---|
227 | #define SUBLANG_BENGALI_BANGLADESH 0x02
|
---|
228 | #define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN 0x05
|
---|
229 | #define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_CYRILLIC 0x08
|
---|
230 | #define SUBLANG_BRETON_FRANCE 0x01
|
---|
231 | #define SUBLANG_BULGARIAN_BULGARIA 0x01
|
---|
232 | #define SUBLANG_CATALAN_CATALAN 0x01
|
---|
233 | #define SUBLANG_CHINESE_TRADITIONAL 0x01
|
---|
234 | #define SUBLANG_CHINESE_SIMPLIFIED 0x02
|
---|
235 | #define SUBLANG_CHINESE_HONGKONG 0x03
|
---|
236 | #define SUBLANG_CHINESE_SINGAPORE 0x04
|
---|
237 | #define SUBLANG_CHINESE_MACAU 0x05
|
---|
238 | #define SUBLANG_CORSICAN_FRANCE 0x01
|
---|
239 | #define SUBLANG_CROATIAN_CROATIA 0x01
|
---|
240 | #define SUBLANG_CROATIAN_BOSNIA_HERZEGOVINA_LATIN 0x04
|
---|
241 | #define SUBLANG_CZECH_CZECH_REPUBLIC 0x01
|
---|
242 | #define SUBLANG_DANISH_DENMARK 0x01
|
---|
243 | #define SUBLANG_DARI_AFGHANISTAN 0x01
|
---|
244 | #define SUBLANG_DIVEHI_MALDIVES 0x01
|
---|
245 | #define SUBLANG_DUTCH 0x01
|
---|
246 | #define SUBLANG_DUTCH_BELGIAN 0x02
|
---|
247 | #define SUBLANG_ENGLISH_US 0x01
|
---|
248 | #define SUBLANG_ENGLISH_UK 0x02
|
---|
249 | #define SUBLANG_ENGLISH_AUS 0x03
|
---|
250 | #define SUBLANG_ENGLISH_CAN 0x04
|
---|
251 | #define SUBLANG_ENGLISH_NZ 0x05
|
---|
252 | #define SUBLANG_ENGLISH_EIRE 0x06
|
---|
253 | #define SUBLANG_ENGLISH_SOUTH_AFRICA 0x07
|
---|
254 | #define SUBLANG_ENGLISH_JAMAICA 0x08
|
---|
255 | #define SUBLANG_ENGLISH_CARIBBEAN 0x09
|
---|
256 | #define SUBLANG_ENGLISH_BELIZE 0x0a
|
---|
257 | #define SUBLANG_ENGLISH_TRINIDAD 0x0b
|
---|
258 | #define SUBLANG_ENGLISH_ZIMBABWE 0x0c
|
---|
259 | #define SUBLANG_ENGLISH_PHILIPPINES 0x0d
|
---|
260 | #define SUBLANG_ENGLISH_INDIA 0x10
|
---|
261 | #define SUBLANG_ENGLISH_MALAYSIA 0x11
|
---|
262 | #define SUBLANG_ENGLISH_SINGAPORE 0x12
|
---|
263 | #define SUBLANG_ESTONIAN_ESTONIA 0x01
|
---|
264 | #define SUBLANG_FAEROESE_FAROE_ISLANDS 0x01
|
---|
265 | #define SUBLANG_FILIPINO_PHILIPPINES 0x01
|
---|
266 | #define SUBLANG_FINNISH_FINLAND 0x01
|
---|
267 | #define SUBLANG_FRENCH 0x01
|
---|
268 | #define SUBLANG_FRENCH_BELGIAN 0x02
|
---|
269 | #define SUBLANG_FRENCH_CANADIAN 0x03
|
---|
270 | #define SUBLANG_FRENCH_SWISS 0x04
|
---|
271 | #define SUBLANG_FRENCH_LUXEMBOURG 0x05
|
---|
272 | #define SUBLANG_FRENCH_MONACO 0x06
|
---|
273 | #define SUBLANG_FRISIAN_NETHERLANDS 0x01
|
---|
274 | #define SUBLANG_GALICIAN_GALICIAN 0x01
|
---|
275 | #define SUBLANG_GEORGIAN_GEORGIA 0x01
|
---|
276 | #define SUBLANG_GERMAN 0x01
|
---|
277 | #define SUBLANG_GERMAN_SWISS 0x02
|
---|
278 | #define SUBLANG_GERMAN_AUSTRIAN 0x03
|
---|
279 | #define SUBLANG_GERMAN_LUXEMBOURG 0x04
|
---|
280 | #define SUBLANG_GERMAN_LIECHTENSTEIN 0x05
|
---|
281 | #define SUBLANG_GREEK_GREECE 0x01
|
---|
282 | #define SUBLANG_GREENLANDIC_GREENLAND 0x01
|
---|
283 | #define SUBLANG_GUJARATI_INDIA 0x01
|
---|
284 | #define SUBLANG_HAUSA_NIGERIA_LATIN 0x01
|
---|
285 | #define SUBLANG_HEBREW_ISRAEL 0x01
|
---|
286 | #define SUBLANG_HINDI_INDIA 0x01
|
---|
287 | #define SUBLANG_HUNGARIAN_HUNGARY 0x01
|
---|
288 | #define SUBLANG_ICELANDIC_ICELAND 0x01
|
---|
289 | #define SUBLANG_IGBO_NIGERIA 0x01
|
---|
290 | #define SUBLANG_INDONESIAN_INDONESIA 0x01
|
---|
291 | #define SUBLANG_INUKTITUT_CANADA 0x01
|
---|
292 | #define SUBLANG_INUKTITUT_CANADA_LATIN 0x02
|
---|
293 | #define SUBLANG_IRISH_IRELAND 0x02
|
---|
294 | #define SUBLANG_ITALIAN 0x01
|
---|
295 | #define SUBLANG_ITALIAN_SWISS 0x02
|
---|
296 | #define SUBLANG_JAPANESE_JAPAN 0x01
|
---|
297 | #define SUBLANG_KANNADA_INDIA 0x01
|
---|
298 | #define SUBLANG_KASHMIRI_SASIA 0x02
|
---|
299 | #define SUBLANG_KASHMIRI_INDIA 0x02
|
---|
300 | #define SUBLANG_KAZAK_KAZAKHSTAN 0x01
|
---|
301 | #define SUBLANG_KHMER_CAMBODIA 0x01
|
---|
302 | #define SUBLANG_KICHE_GUATEMALA 0x01
|
---|
303 | #define SUBLANG_KINYARWANDA_RWANDA 0X01
|
---|
304 | #define SUBLANG_KONKANI_INDIA 0x01
|
---|
305 | #define SUBLANG_KOREAN 0x01
|
---|
306 | #define SUBLANG_KYRGYZ_KYRGYZSTAN 0x01
|
---|
307 | #define SUBLANG_LAO_LAO 0x01
|
---|
308 | #define SUBLANG_LATVIAN_LATVIA 0x01
|
---|
309 | #define SUBLANG_LITHUANIAN 0x01
|
---|
310 | #define SUBLANG_LOWER_SORBIAN_GERMANY 0x02
|
---|
311 | #define SUBLANG_LUXEMBOURGISH_LUXEMBOURG 0x01
|
---|
312 | #define SUBLANG_MACEDONIAN_MACEDONIA 0x01
|
---|
313 | #define SUBLANG_MALAY_MALAYSIA 0x01
|
---|
314 | #define SUBLANG_MALAY_BRUNEI_DARUSSALAM 0x02
|
---|
315 | #define SUBLANG_MALAYALAM_INDIA 0x01
|
---|
316 | #define SUBLANG_MALTESE_MALTA 0x01
|
---|
317 | #define SUBLANG_MAORI_NEW_ZEALAND 0x01
|
---|
318 | #define SUBLANG_MAPUDUNGUN_CHILE 0x01
|
---|
319 | #define SUBLANG_MARATHI_INDIA 0x01
|
---|
320 | #define SUBLANG_MOHAWK_MOHAWK 0x01
|
---|
321 | #define SUBLANG_MONGOLIAN_CYRILLIC_MONGOLIA 0x01
|
---|
322 | #define SUBLANG_MONGOLIAN_PRC 0x02
|
---|
323 | #define SUBLANG_NEPALI_INDIA 0x02
|
---|
324 | #define SUBLANG_NEPALI_NEPAL 0x01
|
---|
325 | #define SUBLANG_NORWEGIAN_BOKMAL 0x01
|
---|
326 | #define SUBLANG_NORWEGIAN_NYNORSK 0x02
|
---|
327 | #define SUBLANG_OCCITAN_FRANCE 0x01
|
---|
328 | #define SUBLANG_ORIYA_INDIA 0x01
|
---|
329 | #define SUBLANG_PASHTO_AFGHANISTAN 0x01
|
---|
330 | #define SUBLANG_PERSIAN_IRAN 0x01
|
---|
331 | #define SUBLANG_POLISH_POLAND 0x01
|
---|
332 | #define SUBLANG_PORTUGUESE 0x02
|
---|
333 | #define SUBLANG_PORTUGUESE_BRAZILIAN 0x01
|
---|
334 | #define SUBLANG_PUNJABI_INDIA 0x01
|
---|
335 | #define SUBLANG_QUECHUA_BOLIVIA 0x01
|
---|
336 | #define SUBLANG_QUECHUA_ECUADOR 0x02
|
---|
337 | #define SUBLANG_QUECHUA_PERU 0x03
|
---|
338 | #define SUBLANG_ROMANIAN_ROMANIA 0x01
|
---|
339 | #define SUBLANG_ROMANSH_SWITZERLAND 0x01
|
---|
340 | #define SUBLANG_RUSSIAN_RUSSIA 0x01
|
---|
341 | #define SUBLANG_SAMI_NORTHERN_NORWAY 0x01
|
---|
342 | #define SUBLANG_SAMI_NORTHERN_SWEDEN 0x02
|
---|
343 | #define SUBLANG_SAMI_NORTHERN_FINLAND 0x03
|
---|
344 | #define SUBLANG_SAMI_LULE_NORWAY 0x04
|
---|
345 | #define SUBLANG_SAMI_LULE_SWEDEN 0x05
|
---|
346 | #define SUBLANG_SAMI_SOUTHERN_NORWAY 0x06
|
---|
347 | #define SUBLANG_SAMI_SOUTHERN_SWEDEN 0x07
|
---|
348 | #define SUBLANG_SAMI_SKOLT_FINLAND 0x08
|
---|
349 | #define SUBLANG_SAMI_INARI_FINLAND 0x09
|
---|
350 | #define SUBLANG_SANSKRIT_INDIA 0x01
|
---|
351 | #define SUBLANG_SCOTTISH_GAELIC 0x01
|
---|
352 | #define SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_LATIN 0x06
|
---|
353 | #define SUBLANG_SERBIAN_BOSNIA_HERZEGOVINA_CYRILLIC 0x07
|
---|
354 | #define SUBLANG_SERBIAN_CROATIA 0x01
|
---|
355 | #define SUBLANG_SERBIAN_LATIN 0x02
|
---|
356 | #define SUBLANG_SERBIAN_CYRILLIC 0x03
|
---|
357 | #define SUBLANG_SERBIAN_SERBIA_LATIN 0x09
|
---|
358 | #define SUBLANG_SERBIAN_SERBIA_CYRILLIC 0x0a
|
---|
359 | #define SUBLANG_SERBIAN_MONTENEGRO_LATIN 0x0b
|
---|
360 | #define SUBLANG_SERBIAN_MONTENEGRO_CYRILLIC 0x0c
|
---|
361 | #define SUBLANG_SINDHI_INDIA 0x01
|
---|
362 | #define SUBLANG_SINDHI_AFGHANISTAN 0x02
|
---|
363 | #define SUBLANG_SINDHI_PAKISTAN SUBLANG_SINDHI_AFGHANISTAN
|
---|
364 | #define SUBLANG_SINHALESE_SRI_LANKA 0x01
|
---|
365 | #define SUBLANG_SLOVAK_SLOVAKIA 0x01
|
---|
366 | #define SUBLANG_SLOVENIAN_SLOVENIA 0x01
|
---|
367 | #define SUBLANG_SOTHO_NORTHERN_SOUTH_AFRICA 0x01
|
---|
368 | #define SUBLANG_SPANISH 0x01
|
---|
369 | #define SUBLANG_SPANISH_MEXICAN 0x02
|
---|
370 | #define SUBLANG_SPANISH_MODERN 0x03
|
---|
371 | #define SUBLANG_SPANISH_GUATEMALA 0x04
|
---|
372 | #define SUBLANG_SPANISH_COSTA_RICA 0x05
|
---|
373 | #define SUBLANG_SPANISH_PANAMA 0x06
|
---|
374 | #define SUBLANG_SPANISH_DOMINICAN_REPUBLIC 0x07
|
---|
375 | #define SUBLANG_SPANISH_VENEZUELA 0x08
|
---|
376 | #define SUBLANG_SPANISH_COLOMBIA 0x09
|
---|
377 | #define SUBLANG_SPANISH_PERU 0x0a
|
---|
378 | #define SUBLANG_SPANISH_ARGENTINA 0x0b
|
---|
379 | #define SUBLANG_SPANISH_ECUADOR 0x0c
|
---|
380 | #define SUBLANG_SPANISH_CHILE 0x0d
|
---|
381 | #define SUBLANG_SPANISH_URUGUAY 0x0e
|
---|
382 | #define SUBLANG_SPANISH_PARAGUAY 0x0f
|
---|
383 | #define SUBLANG_SPANISH_BOLIVIA 0x10
|
---|
384 | #define SUBLANG_SPANISH_EL_SALVADOR 0x11
|
---|
385 | #define SUBLANG_SPANISH_HONDURAS 0x12
|
---|
386 | #define SUBLANG_SPANISH_NICARAGUA 0x13
|
---|
387 | #define SUBLANG_SPANISH_PUERTO_RICO 0x14
|
---|
388 | #define SUBLANG_SPANISH_US 0x15
|
---|
389 | #define SUBLANG_SWAHILI_KENYA 0x01
|
---|
390 | #define SUBLANG_SWEDISH 0x01
|
---|
391 | #define SUBLANG_SWEDISH_FINLAND 0x02
|
---|
392 | #define SUBLANG_SYRIAC_SYRIA 0x01
|
---|
393 | #define SUBLANG_TAJIK_TAJIKISTAN 0x01
|
---|
394 | #define SUBLANG_TAMAZIGHT_ALGERIA_LATIN 0x02
|
---|
395 | #define SUBLANG_TAMIL_INDIA 0x01
|
---|
396 | #define SUBLANG_TATAR_RUSSIA 0x01
|
---|
397 | #define SUBLANG_TELUGU_INDIA 0x01
|
---|
398 | #define SUBLANG_THAI_THAILAND 0x01
|
---|
399 | #define SUBLANG_TIBETAN_PRC 0x01
|
---|
400 | #define SUBLANG_TIBETAN_BHUTAN 0x02
|
---|
401 | #define SUBLANG_TIGRIGNA_ERITREA 0x02
|
---|
402 | #define SUBLANG_TSWANA_SOUTH_AFRICA 0x01
|
---|
403 | #define SUBLANG_TURKISH_TURKEY 0x01
|
---|
404 | #define SUBLANG_TURKMEN_TURKMENISTAN 0x01
|
---|
405 | #define SUBLANG_UIGHUR_PRC 0x01
|
---|
406 | #define SUBLANG_UKRAINIAN_UKRAINE 0x01
|
---|
407 | #define SUBLANG_UPPER_SORBIAN_GERMANY 0x01
|
---|
408 | #define SUBLANG_URDU_PAKISTAN 0x01
|
---|
409 | #define SUBLANG_URDU_INDIA 0x02
|
---|
410 | #define SUBLANG_UZBEK_LATIN 0x01
|
---|
411 | #define SUBLANG_UZBEK_CYRILLIC 0x02
|
---|
412 | #define SUBLANG_VIETNAMESE_VIETNAM 0x01
|
---|
413 | #define SUBLANG_WELSH_UNITED_KINGDOM 0x01
|
---|
414 | #define SUBLANG_WOLOF_SENEGAL 0x01
|
---|
415 | #define SUBLANG_XHOSA_SOUTH_AFRICA 0x01
|
---|
416 | #define SUBLANG_YAKUT_RUSSIA 0x01
|
---|
417 | #define SUBLANG_YI_PRC 0x01
|
---|
418 | #define SUBLANG_YORUBA_NIGERIA 0x01
|
---|
419 | #define SUBLANG_ZULU_SOUTH_AFRICA 0x01
|
---|
420 |
|
---|
421 | /* These are documented by the MSDN but are missing from the Windows header */
|
---|
422 | #define SUBLANG_ENGLISH_IRELAND SUBLANG_ENGLISH_EIRE
|
---|
423 | #define SUBLANG_HAUSA_NIGERIA SUBLANG_HAUSA_NIGERIA_LATIN
|
---|
424 | #define SUBLANG_LAO_LAO_PDR SUBLANG_LAO_LAO
|
---|
425 | #define SUBLANG_PORTUGUESE_PORTUGAL SUBLANG_PORTUGUESE
|
---|
426 | #define SUBLANG_SWAHILI SUBLANG_SWAHILI_KENYA
|
---|
427 | #define SUBLANG_SWEDISH_SWEDEN SUBLANG_SWEDISH
|
---|
428 | #define SUBLANG_SYRIAC SUBLANG_SYRIAC_SYRIA
|
---|
429 |
|
---|
430 | /* FIXME: these are not defined anywhere */
|
---|
431 | #define SUBLANG_DUTCH_SURINAM 0x03
|
---|
432 | #define SUBLANG_ROMANIAN_MOLDAVIA 0x02
|
---|
433 | #define SUBLANG_RUSSIAN_MOLDAVIA 0x02
|
---|
434 | #define SUBLANG_LITHUANIAN_CLASSIC 0x02
|
---|
435 | #define SUBLANG_MANX_GAELIC 0x01
|
---|
436 |
|
---|
437 |
|
---|
438 | /*
|
---|
439 | * Sort definitions
|
---|
440 | */
|
---|
441 |
|
---|
442 | #define SORT_DEFAULT 0x0
|
---|
443 | #define SORT_INVARIANT_MATH 0x1
|
---|
444 | #define SORT_JAPANESE_XJIS 0x0
|
---|
445 | #define SORT_JAPANESE_UNICODE 0x1
|
---|
446 | #define SORT_JAPANESE_RADICALSTROKE 0x4
|
---|
447 | #define SORT_CHINESE_BIG5 0x0
|
---|
448 | #define SORT_CHINESE_PRCP 0x0
|
---|
449 | #define SORT_CHINESE_UNICODE 0x1
|
---|
450 | #define SORT_CHINESE_PRC 0x2
|
---|
451 | #define SORT_CHINESE_BOPOMOFO 0x3
|
---|
452 | #define SORT_CHINESE_RADICALSTROKE 0x4
|
---|
453 | #define SORT_KOREAN_KSC 0x0
|
---|
454 | #define SORT_KOREAN_UNICODE 0x1
|
---|
455 | #define SORT_GERMAN_PHONE_BOOK 0x1
|
---|
456 | #define SORT_HUNGARIAN_DEFAULT 0x0
|
---|
457 | #define SORT_HUNGARIAN_TECHNICAL 0x1
|
---|
458 | #define SORT_GEORGIAN_TRADITIONAL 0x0
|
---|
459 | #define SORT_GEORGIAN_MODERN 0x1
|
---|