mshtml: Implement deleting props for Storage.
[wine.git] / include / winnls.h
blobd7d3d31650930d7cd57a0e79154fce713c174170
1 /*
2 * Copyright (C) the Wine project
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_WINNLS_H
20 #define __WINE_WINNLS_H
21 #ifndef NONLS
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
27 #ifndef WINNORMALIZEAPI
28 #ifndef _NORMALIZE_
29 # define WINNORMALIZEAPI DECLSPEC_IMPORT
30 #else
31 # define WINNORMALIZEAPI
32 #endif
33 #endif
35 /* Country codes */
36 #define CTRY_DEFAULT (0)
37 #define CTRY_ALBANIA (355)
38 #define CTRY_ALGERIA (213)
39 #define CTRY_ARGENTINA (54)
40 #define CTRY_ARMENIA (374)
41 #define CTRY_AUSTRALIA (61)
42 #define CTRY_AUSTRIA (43)
43 #define CTRY_AZERBAIJAN (994)
44 #define CTRY_BAHRAIN (973)
45 #define CTRY_BELARUS (375)
46 #define CTRY_BELGIUM (32)
47 #define CTRY_BELIZE (501)
48 #define CTRY_BOLIVIA (591)
49 #define CTRY_BRAZIL (55)
50 #define CTRY_BRUNEI_DARUSSALAM (673)
51 #define CTRY_BULGARIA (359)
52 #define CTRY_CANADA (2)
53 #define CTRY_CARIBBEAN (1)
54 #define CTRY_CHILE (56)
55 #define CTRY_COLOMBIA (57)
56 #define CTRY_COSTA_RICA (506)
57 #define CTRY_CROATIA (385)
58 #define CTRY_CZECH (420)
59 #define CTRY_DENMARK (45)
60 #define CTRY_DOMINICAN_REPUBLIC (1)
61 #define CTRY_ECUADOR (593)
62 #define CTRY_EGYPT (20)
63 #define CTRY_EL_SALVADOR (503)
64 #define CTRY_ESTONIA (372)
65 #define CTRY_FAEROE_ISLANDS (298)
66 #define CTRY_FINLAND (358)
67 #define CTRY_FRANCE (33)
68 #define CTRY_GEORGIA (995)
69 #define CTRY_GERMANY (49)
70 #define CTRY_GREECE (30)
71 #define CTRY_GUATEMALA (502)
72 #define CTRY_HONDURAS (504)
73 #define CTRY_HONG_KONG (852)
74 #define CTRY_HUNGARY (36)
75 #define CTRY_ICELAND (354)
76 #define CTRY_INDIA (91)
77 #define CTRY_INDONESIA (62)
78 #define CTRY_IRAN (981)
79 #define CTRY_IRAQ (964)
80 #define CTRY_IRELAND (353)
81 #define CTRY_ISRAEL (972)
82 #define CTRY_ITALY (39)
83 #define CTRY_JAMAICA (1)
84 #define CTRY_JAPAN (81)
85 #define CTRY_JORDAN (962)
86 #define CTRY_KAZAKSTAN (7)
87 #define CTRY_KENYA (254)
88 #define CTRY_KUWAIT (965)
89 #define CTRY_KYRGYZSTAN (996)
90 #define CTRY_LATVIA (371)
91 #define CTRY_LEBANON (961)
92 #define CTRY_LIBYA (218)
93 #define CTRY_LIECHTENSTEIN (41)
94 #define CTRY_LITHUANIA (370)
95 #define CTRY_LUXEMBOURG (352)
96 #define CTRY_MACAU (853)
97 #define CTRY_MACEDONIA (389)
98 #define CTRY_MALAYSIA (60)
99 #define CTRY_MALDIVES (960)
100 #define CTRY_MEXICO (52)
101 #define CTRY_MONACO (33)
102 #define CTRY_MONGOLIA (976)
103 #define CTRY_MOROCCO (212)
104 #define CTRY_NETHERLANDS (31)
105 #define CTRY_NEW_ZEALAND (64)
106 #define CTRY_NICARAGUA (505)
107 #define CTRY_NORWAY (47)
108 #define CTRY_OMAN (968)
109 #define CTRY_PAKISTAN (92)
110 #define CTRY_PANAMA (507)
111 #define CTRY_PARAGUAY (595)
112 #define CTRY_PERU (51)
113 #define CTRY_PHILIPPINES (63)
114 #define CTRY_POLAND (48)
115 #define CTRY_PORTUGAL (351)
116 #define CTRY_PRCHINA (86)
117 #define CTRY_PUERTO_RICO (1)
118 #define CTRY_QATAR (974)
119 #define CTRY_ROMANIA (40)
120 #define CTRY_RUSSIA (7)
121 #define CTRY_SAUDI_ARABIA (966)
122 #define CTRY_SERBIA (381)
123 #define CTRY_SINGAPORE (65)
124 #define CTRY_SLOVAK (421)
125 #define CTRY_SLOVENIA (386)
126 #define CTRY_SOUTH_AFRICA (27)
127 #define CTRY_SOUTH_KOREA (82)
128 #define CTRY_SPAIN (34)
129 #define CTRY_SWEDEN (46)
130 #define CTRY_SWITZERLAND (41)
131 #define CTRY_SYRIA (963)
132 #define CTRY_TAIWAN (886)
133 #define CTRY_TATARSTAN (7)
134 #define CTRY_THAILAND (66)
135 #define CTRY_TRINIDAD_Y_TOBAGO (1)
136 #define CTRY_TUNISIA (216)
137 #define CTRY_TURKEY (90)
138 #define CTRY_UAE (971)
139 #define CTRY_UKRAINE (380)
140 #define CTRY_UNITED_KINGDOM (44)
141 #define CTRY_UNITED_STATES (1)
142 #define CTRY_URUGUAY (598)
143 #define CTRY_UZBEKISTAN (7)
144 #define CTRY_VENEZUELA (58)
145 #define CTRY_VIET_NAM (84)
146 #define CTRY_YEMEN (967)
147 #define CTRY_ZIMBABWE (263)
149 #define MB_PRECOMPOSED 0x01
150 #define MB_COMPOSITE 0x02
151 #define MB_USEGLYPHCHARS 0x04
152 #define MB_ERR_INVALID_CHARS 0x08
154 #define LGRPID_INSTALLED 0x1
155 #define LGRPID_SUPPORTED 0x2
157 #define LCID_INSTALLED 0x1
158 #define LCID_SUPPORTED 0x2
159 #define LCID_ALTERNATE_SORTS 0x4
161 #define LOCALE_ALL 0x00
162 #define LOCALE_WINDOWS 0x01
163 #define LOCALE_SUPPLEMENTAL 0x02
164 #define LOCALE_ALTERNATE_SORTS 0x04
165 #define LOCALE_REPLACEMENT 0x08
166 #define LOCALE_NEUTRALDATA 0x10
167 #define LOCALE_SPECIFICDATA 0x20
169 /* Locale flags */
170 #define LOCALE_NOUSEROVERRIDE 0x80000000
171 #define LOCALE_USE_CP_ACP 0x40000000
172 #define LOCALE_RETURN_NUMBER 0x20000000
173 #define LOCALE_RETURN_GENITIVE_NAMES 0x10000000
174 #define LOCALE_ALLOW_NEUTRAL_NAMES 0x08000000
176 /* Locale information types */
177 #define LOCALE_ILANGUAGE 0x0001
178 #define LOCALE_SLANGUAGE 0x0002
179 #define LOCALE_SLOCALIZEDDISPLAYNAME 0x0002
180 #define LOCALE_SENGLANGUAGE 0x1001
181 #define LOCALE_SENGLISHLANGUAGENAME 0x1001
182 #define LOCALE_SABBREVLANGNAME 0x0003
183 #define LOCALE_SNATIVELANGNAME 0x0004
184 #define LOCALE_SNATIVELANGUAGENAME 0x0004
185 #define LOCALE_ICOUNTRY 0x0005
186 #define LOCALE_SCOUNTRY 0x0006
187 #define LOCALE_SLOCALIZEDCOUNTRYNAME 0x0006
188 #define LOCALE_SENGCOUNTRY 0x1002
189 #define LOCALE_SENGLISHCOUNTRYNAME 0x1002
190 #define LOCALE_SABBREVCTRYNAME 0x0007
191 #define LOCALE_SNATIVECTRYNAME 0x0008
192 #define LOCALE_SNATIVECOUNTRYNAME 0x0008
193 #define LOCALE_IDEFAULTLANGUAGE 0x0009
194 #define LOCALE_IDEFAULTCOUNTRY 0x000A
195 #define LOCALE_IDEFAULTCODEPAGE 0x000B
196 #define LOCALE_IDEFAULTANSICODEPAGE 0x1004
197 #define LOCALE_IDEFAULTMACCODEPAGE 0x1011
198 #define LOCALE_SLIST 0x000C
199 #define LOCALE_IMEASURE 0x000D
200 #define LOCALE_SDECIMAL 0x000E
201 #define LOCALE_STHOUSAND 0x000F
202 #define LOCALE_SGROUPING 0x0010
203 #define LOCALE_IDIGITS 0x0011
204 #define LOCALE_ILZERO 0x0012
205 #define LOCALE_INEGNUMBER 0x1010
206 #define LOCALE_SNATIVEDIGITS 0x0013
207 #define LOCALE_SCURRENCY 0x0014
208 #define LOCALE_SINTLSYMBOL 0x0015
209 #define LOCALE_SMONDECIMALSEP 0x0016
210 #define LOCALE_SMONTHOUSANDSEP 0x0017
211 #define LOCALE_SMONGROUPING 0x0018
212 #define LOCALE_ICURRDIGITS 0x0019
213 #define LOCALE_IINTLCURRDIGITS 0x001A
214 #define LOCALE_ICURRENCY 0x001B
215 #define LOCALE_INEGCURR 0x001C
216 #define LOCALE_SDATE 0x001D
217 #define LOCALE_STIME 0x001E
218 #define LOCALE_SSHORTDATE 0x001F
219 #define LOCALE_SLONGDATE 0x0020
220 #define LOCALE_STIMEFORMAT 0x1003
221 #define LOCALE_IDATE 0x0021
222 #define LOCALE_ILDATE 0x0022
223 #define LOCALE_ITIME 0x0023
224 #define LOCALE_ITIMEMARKPOSN 0x1005
225 #define LOCALE_ICENTURY 0x0024
226 #define LOCALE_ITLZERO 0x0025
227 #define LOCALE_IDAYLZERO 0x0026
228 #define LOCALE_IMONLZERO 0x0027
229 #define LOCALE_S1159 0x0028
230 #define LOCALE_S2359 0x0029
231 #define LOCALE_ICALENDARTYPE 0x1009
232 #define LOCALE_IOPTIONALCALENDAR 0x100B
233 #define LOCALE_IFIRSTDAYOFWEEK 0x100C
234 #define LOCALE_IFIRSTWEEKOFYEAR 0x100D
235 #define LOCALE_SDAYNAME1 0x002A
236 #define LOCALE_SDAYNAME2 0x002B
237 #define LOCALE_SDAYNAME3 0x002C
238 #define LOCALE_SDAYNAME4 0x002D
239 #define LOCALE_SDAYNAME5 0x002E
240 #define LOCALE_SDAYNAME6 0x002F
241 #define LOCALE_SDAYNAME7 0x0030
242 #define LOCALE_SABBREVDAYNAME1 0x0031
243 #define LOCALE_SABBREVDAYNAME2 0x0032
244 #define LOCALE_SABBREVDAYNAME3 0x0033
245 #define LOCALE_SABBREVDAYNAME4 0x0034
246 #define LOCALE_SABBREVDAYNAME5 0x0035
247 #define LOCALE_SABBREVDAYNAME6 0x0036
248 #define LOCALE_SABBREVDAYNAME7 0x0037
249 #define LOCALE_SMONTHNAME1 0x0038
250 #define LOCALE_SMONTHNAME2 0x0039
251 #define LOCALE_SMONTHNAME3 0x003A
252 #define LOCALE_SMONTHNAME4 0x003B
253 #define LOCALE_SMONTHNAME5 0x003C
254 #define LOCALE_SMONTHNAME6 0x003D
255 #define LOCALE_SMONTHNAME7 0x003E
256 #define LOCALE_SMONTHNAME8 0x003F
257 #define LOCALE_SMONTHNAME9 0x0040
258 #define LOCALE_SMONTHNAME10 0x0041
259 #define LOCALE_SMONTHNAME11 0x0042
260 #define LOCALE_SMONTHNAME12 0x0043
261 #define LOCALE_SMONTHNAME13 0x100E
262 #define LOCALE_SABBREVMONTHNAME1 0x0044
263 #define LOCALE_SABBREVMONTHNAME2 0x0045
264 #define LOCALE_SABBREVMONTHNAME3 0x0046
265 #define LOCALE_SABBREVMONTHNAME4 0x0047
266 #define LOCALE_SABBREVMONTHNAME5 0x0048
267 #define LOCALE_SABBREVMONTHNAME6 0x0049
268 #define LOCALE_SABBREVMONTHNAME7 0x004A
269 #define LOCALE_SABBREVMONTHNAME8 0x004B
270 #define LOCALE_SABBREVMONTHNAME9 0x004C
271 #define LOCALE_SABBREVMONTHNAME10 0x004D
272 #define LOCALE_SABBREVMONTHNAME11 0x004E
273 #define LOCALE_SABBREVMONTHNAME12 0x004F
274 #define LOCALE_SABBREVMONTHNAME13 0x100F
275 #define LOCALE_SPOSITIVESIGN 0x0050
276 #define LOCALE_SNEGATIVESIGN 0x0051
277 #define LOCALE_IPOSSIGNPOSN 0x0052
278 #define LOCALE_INEGSIGNPOSN 0x0053
279 #define LOCALE_IPOSSYMPRECEDES 0x0054
280 #define LOCALE_IPOSSEPBYSPACE 0x0055
281 #define LOCALE_INEGSYMPRECEDES 0x0056
282 #define LOCALE_INEGSEPBYSPACE 0x0057
283 #define LOCALE_FONTSIGNATURE 0x0058
284 #define LOCALE_SISO639LANGNAME 0x0059
285 #define LOCALE_SISO3166CTRYNAME 0x005A
286 #define LOCALE_IGEOID 0x005B
287 #define LOCALE_SNAME 0x005C
288 #define LOCALE_SDURATION 0x005D
289 #define LOCALE_SKEYBOARDSTOINSTALL 0x005E
290 #define LOCALE_SSHORTESTDAYNAME1 0x0060
291 #define LOCALE_SSHORTESTDAYNAME2 0x0061
292 #define LOCALE_SSHORTESTDAYNAME3 0x0062
293 #define LOCALE_SSHORTESTDAYNAME4 0x0063
294 #define LOCALE_SSHORTESTDAYNAME5 0x0064
295 #define LOCALE_SSHORTESTDAYNAME6 0x0065
296 #define LOCALE_SSHORTESTDAYNAME7 0x0066
297 #define LOCALE_SISO639LANGNAME2 0x0067
298 #define LOCALE_SISO3166CTRYNAME2 0x0068
299 #define LOCALE_SNAN 0x0069
300 #define LOCALE_SPOSINFINITY 0x006A
301 #define LOCALE_SNEGINFINITY 0x006B
302 #define LOCALE_SSCRIPTS 0x006C
303 #define LOCALE_SPARENT 0x006D
304 #define LOCALE_SCONSOLEFALLBACKNAME 0x006E
305 #define LOCALE_SLANGDISPLAYNAME 0x006F
306 #define LOCALE_SLOCALIZEDLANGUAGENAME 0x006F
307 #define LOCALE_IREADINGLAYOUT 0x0070
308 #define LOCALE_INEUTRAL 0x0071
309 #define LOCALE_SENGLISHDISPLAYNAME 0x0072
310 #define LOCALE_SNATIVEDISPLAYNAME 0x0073
311 #define LOCALE_INEGATIVEPERCENT 0x0074
312 #define LOCALE_IPOSITIVEPERCENT 0x0075
313 #define LOCALE_SPERCENT 0x0076
314 #define LOCALE_SPERMILLE 0x0077
315 #define LOCALE_SMONTHDAY 0x0078
316 #define LOCALE_SSHORTTIME 0x0079
317 #define LOCALE_SOPENTYPELANGUAGETAG 0X007A
318 #define LOCALE_SSORTLOCALE 0x007B
319 #define LOCALE_SRELATIVELONGDATE 0x007C
320 #define LOCALE_SSHORTESTAM 0x007E
321 #define LOCALE_SSHORTESTPM 0x007F
323 #define LOCALE_IDEFAULTEBCDICCODEPAGE 0x1012
324 #define LOCALE_IPAPERSIZE 0x100A
325 #define LOCALE_SENGCURRNAME 0x1007
326 #define LOCALE_SNATIVECURRNAME 0x1008
327 #define LOCALE_SYEARMONTH 0x1006
328 #define LOCALE_SSORTNAME 0x1013
329 #define LOCALE_IDIGITSUBSTITUTION 0x1014
331 /* Locale name special values */
332 #if defined(_MSC_VER) || defined(__MINGW32__)
333 # define LOCALE_NAME_INVARIANT L""
334 #else
335 static const WCHAR LOCALE_NAME_INVARIANT[] = { 0 };
336 #endif
338 #if defined(_MSC_VER) || defined(__MINGW32__)
339 # define LOCALE_NAME_SYSTEM_DEFAULT L"!sys-default-locale"
340 #else
341 static const WCHAR LOCALE_NAME_SYSTEM_DEFAULT[] = {'!','s','y','s','-','d','e','f','a','u','l','t','-','l','o','c','a','l','e',0};
342 #endif
344 #define LOCALE_NAME_USER_DEFAULT NULL
346 #define NORM_IGNORECASE 0x00000001
347 #define NORM_IGNORENONSPACE 0x00000002
348 #define NORM_IGNORESYMBOLS 0x00000004
349 #define SORT_DIGITSASNUMBERS 0x00000008
350 #define LINGUISTIC_IGNORECASE 0x00000010
351 #define LINGUISTIC_IGNOREDIACRITIC 0x00000020
352 #define SORT_STRINGSORT 0x00001000 /* Take punctuation into account */
353 #define NORM_IGNOREKANATYPE 0x00010000
354 #define NORM_IGNOREWIDTH 0x00020000
355 #define NORM_LINGUISTIC_CASING 0x08000000
356 #define FIND_STARTSWITH 0x00100000
357 #define FIND_ENDSWITH 0x00200000
358 #define FIND_FROMSTART 0x00400000
359 #define FIND_FROMEND 0x00800000
361 #define CP_ACP 0
362 #define CP_OEMCP 1
363 #define CP_MACCP 2
364 #define CP_THREAD_ACP 3
365 #define CP_SYMBOL 42
366 #define CP_UTF7 65000
367 #define CP_UTF8 65001
369 #define CP_UNIXCP 65010 /* Wine extension */
371 #define CP_INSTALLED 0x1
372 #define CP_SUPPORTED 0x2
374 #define HIGH_SURROGATE_START 0xd800
375 #define HIGH_SURROGATE_END 0xdbff
376 #define LOW_SURROGATE_START 0xdc00
377 #define LOW_SURROGATE_END 0xdfff
379 #define IS_HIGH_SURROGATE(ch) ((ch) >= HIGH_SURROGATE_START && (ch) <= HIGH_SURROGATE_END)
380 #define IS_LOW_SURROGATE(ch) ((ch) >= LOW_SURROGATE_START && (ch) <= LOW_SURROGATE_END)
381 #define IS_SURROGATE_PAIR(high,low) (IS_HIGH_SURROGATE(high) && IS_LOW_SURROGATE(low))
383 #define WC_DISCARDNS 0x0010
384 #define WC_SEPCHARS 0x0020
385 #define WC_DEFAULTCHAR 0x0040
386 #define WC_ERR_INVALID_CHARS 0x0080
387 #define WC_COMPOSITECHECK 0x0200
388 #define WC_NO_BEST_FIT_CHARS 0x0400
390 #define MAP_FOLDCZONE 0x0010
391 #define MAP_PRECOMPOSED 0x0020
392 #define MAP_COMPOSITE 0x0040
393 #define MAP_FOLDDIGITS 0x0080
394 #define MAP_EXPAND_LIGATURES 0x2000
397 /* String mapping flags */
398 #define LCMAP_LOWERCASE 0x00000100 /* Make lower-case */
399 #define LCMAP_UPPERCASE 0x00000200 /* Make upper-case */
400 #define LCMAP_TITLECASE 0x00000300 /* Make title-case */
401 #define LCMAP_SORTKEY 0x00000400 /* Create a sort key */
402 #define LCMAP_BYTEREV 0x00000800 /* Reverse the result */
403 #define LCMAP_HASH 0x00040000
404 #define LCMAP_HIRAGANA 0x00100000 /* Transform Japanese katakana into hiragana */
405 #define LCMAP_KATAKANA 0x00200000 /* Transform Japanese hiragana into katakana */
406 #define LCMAP_HALFWIDTH 0x00400000 /* Use single byte chars in output */
407 #define LCMAP_FULLWIDTH 0x00800000 /* Use double byte chars in output */
408 #define LCMAP_LINGUISTIC_CASING 0x01000000 /* Change case by using language context */
409 #define LCMAP_SIMPLIFIED_CHINESE 0x02000000 /* Transform Chinese traditional into simplified */
410 #define LCMAP_TRADITIONAL_CHINESE 0x04000000 /* Transform Chinese simplified into traditional */
411 #define LCMAP_SORTHANDLE 0x20000000
413 /* Date and time formatting flags */
414 #define DATE_SHORTDATE 0x01 /* Short date format */
415 #define DATE_LONGDATE 0x02 /* Long date format */
416 #define DATE_USE_ALT_CALENDAR 0x04 /* Use an Alternate calendar */
417 #define DATE_YEARMONTH 0x08 /* Year/month format */
418 #define DATE_LTRREADING 0x10 /* Add LTR reading marks */
419 #define DATE_RTLREADING 0x20 /* Add RTL reading marks */
420 #define DATE_AUTOLAYOUT 0x40 /* Add LTR or RTL reading marks automatically */
421 #define DATE_MONTHDAY 0x80 /* Month/day format */
423 #define TIME_FORCE24HOURFORMAT 0x08 /* Always use 24 hour clock */
424 #define TIME_NOTIMEMARKER 0x04 /* show no AM/PM */
425 #define TIME_NOSECONDS 0x02 /* show no seconds */
426 #define TIME_NOMINUTESORSECONDS 0x01 /* show no minutes either */
428 /* Unicode char type flags */
429 #define CT_CTYPE1 0x0001 /* usual ctype */
430 #define CT_CTYPE2 0x0002 /* bidirectional layout info */
431 #define CT_CTYPE3 0x0004 /* textprocessing info */
433 /* Type 1 flags */
434 #define C1_UPPER 0x0001
435 #define C1_LOWER 0x0002
436 #define C1_DIGIT 0x0004
437 #define C1_SPACE 0x0008
438 #define C1_PUNCT 0x0010
439 #define C1_CNTRL 0x0020
440 #define C1_BLANK 0x0040
441 #define C1_XDIGIT 0x0080
442 #define C1_ALPHA 0x0100
443 #define C1_DEFINED 0x0200
445 /* Type 2 flags */
446 #define C2_LEFTTORIGHT 0x0001
447 #define C2_RIGHTTOLEFT 0x0002
448 #define C2_EUROPENUMBER 0x0003
449 #define C2_EUROPESEPARATOR 0x0004
450 #define C2_EUROPETERMINATOR 0x0005
451 #define C2_ARABICNUMBER 0x0006
452 #define C2_COMMONSEPARATOR 0x0007
453 #define C2_BLOCKSEPARATOR 0x0008
454 #define C2_SEGMENTSEPARATOR 0x0009
455 #define C2_WHITESPACE 0x000A
456 #define C2_OTHERNEUTRAL 0x000B
457 #define C2_NOTAPPLICABLE 0x0000
459 /* Type 3 flags */
460 #define C3_NONSPACING 0x0001
461 #define C3_DIACRITIC 0x0002
462 #define C3_VOWELMARK 0x0004
463 #define C3_SYMBOL 0x0008
464 #define C3_KATAKANA 0x0010
465 #define C3_HIRAGANA 0x0020
466 #define C3_HALFWIDTH 0x0040
467 #define C3_FULLWIDTH 0x0080
468 #define C3_IDEOGRAPH 0x0100
469 #define C3_KASHIDA 0x0200
470 #define C3_LEXICAL 0x0400
471 #define C3_HIGHSURROGATE 0x0800
472 #define C3_LOWSURROGATE 0x1000
473 #define C3_ALPHA 0x8000
474 #define C3_NOTAPPLICABLE 0x0000
476 /* Code page information.
478 #define MAX_LEADBYTES 12
479 #define MAX_DEFAULTCHAR 2
481 /* Defines for calendar handling */
482 #define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE
483 #define CAL_USE_CP_ACP LOCALE_USE_CP_ACP
484 #define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER
485 #define CAL_RETURN_GENITIVE_NAMES LOCALE_RETURN_GENITIVE_NAMES
487 #define CAL_ICALINTVALUE 0x01
488 #define CAL_SCALNAME 0x02
489 #define CAL_IYEAROFFSETRANGE 0x03
490 #define CAL_SERASTRING 0x04
491 #define CAL_SSHORTDATE 0x05
492 #define CAL_SLONGDATE 0x06
493 #define CAL_SDAYNAME1 0x07
494 #define CAL_SDAYNAME2 0x08
495 #define CAL_SDAYNAME3 0x09
496 #define CAL_SDAYNAME4 0x0a
497 #define CAL_SDAYNAME5 0x0b
498 #define CAL_SDAYNAME6 0x0c
499 #define CAL_SDAYNAME7 0x0d
500 #define CAL_SABBREVDAYNAME1 0x0e
501 #define CAL_SABBREVDAYNAME2 0x0f
502 #define CAL_SABBREVDAYNAME3 0x10
503 #define CAL_SABBREVDAYNAME4 0x11
504 #define CAL_SABBREVDAYNAME5 0x12
505 #define CAL_SABBREVDAYNAME6 0x13
506 #define CAL_SABBREVDAYNAME7 0x14
507 #define CAL_SMONTHNAME1 0x15
508 #define CAL_SMONTHNAME2 0x16
509 #define CAL_SMONTHNAME3 0x17
510 #define CAL_SMONTHNAME4 0x18
511 #define CAL_SMONTHNAME5 0x19
512 #define CAL_SMONTHNAME6 0x1a
513 #define CAL_SMONTHNAME7 0x1b
514 #define CAL_SMONTHNAME8 0x1c
515 #define CAL_SMONTHNAME9 0x1d
516 #define CAL_SMONTHNAME10 0x1e
517 #define CAL_SMONTHNAME11 0x1f
518 #define CAL_SMONTHNAME12 0x20
519 #define CAL_SMONTHNAME13 0x21
520 #define CAL_SABBREVMONTHNAME1 0x22
521 #define CAL_SABBREVMONTHNAME2 0x23
522 #define CAL_SABBREVMONTHNAME3 0x24
523 #define CAL_SABBREVMONTHNAME4 0x25
524 #define CAL_SABBREVMONTHNAME5 0x26
525 #define CAL_SABBREVMONTHNAME6 0x27
526 #define CAL_SABBREVMONTHNAME7 0x28
527 #define CAL_SABBREVMONTHNAME8 0x29
528 #define CAL_SABBREVMONTHNAME9 0x2a
529 #define CAL_SABBREVMONTHNAME10 0x2b
530 #define CAL_SABBREVMONTHNAME11 0x2c
531 #define CAL_SABBREVMONTHNAME12 0x2d
532 #define CAL_SABBREVMONTHNAME13 0x2e
533 #define CAL_SYEARMONTH 0x2f
534 #define CAL_ITWODIGITYEARMAX 0x30
535 #define CAL_SSHORTESTDAYNAME1 0x31
536 #define CAL_SSHORTESTDAYNAME2 0x32
537 #define CAL_SSHORTESTDAYNAME3 0x33
538 #define CAL_SSHORTESTDAYNAME4 0x34
539 #define CAL_SSHORTESTDAYNAME5 0x35
540 #define CAL_SSHORTESTDAYNAME6 0x36
541 #define CAL_SSHORTESTDAYNAME7 0x37
542 #define CAL_SMONTHDAY 0x38
543 #define CAL_SABBREVERASTRING 0x39
544 #define CAL_SRELATIVELONGDATE 0x3a
545 #define CAL_SENGLISHERANAME 0x3b
546 #define CAL_SENGLISHABBREVERANAME 0x3c
548 /* Calendar types */
549 #define CAL_GREGORIAN 1
550 #define CAL_GREGORIAN_US 2
551 #define CAL_JAPAN 3
552 #define CAL_TAIWAN 4
553 #define CAL_KOREA 5
554 #define CAL_HIJRI 6
555 #define CAL_THAI 7
556 #define CAL_HEBREW 8
557 #define CAL_GREGORIAN_ME_FRENCH 9
558 #define CAL_GREGORIAN_ARABIC 10
559 #define CAL_GREGORIAN_XLIT_ENGLISH 11
560 #define CAL_GREGORIAN_XLIT_FRENCH 12
561 #define CAL_PERSIAN 22
562 #define CAL_UMALQURA 23
564 /* EnumCalendarInfo Flags */
565 #define ENUM_ALL_CALENDARS 0xffffffff /* Enumerate all calendars within a locale */
567 /* CompareString results */
568 #define CSTR_LESS_THAN 1
569 #define CSTR_EQUAL 2
570 #define CSTR_GREATER_THAN 3
573 * Language Group IDs.
574 * Resources in kernel32 are LGRPID_xxx+0x2000 because low values were used by LOCALE_xxx
575 * This is done because resources in win2k kernel32 / winxp kernel32 are not even
576 * stored the same way.
578 #define LGRPID_WESTERN_EUROPE 0x01 /* Includes US and Africa */
579 #define LGRPID_CENTRAL_EUROPE 0x02
580 #define LGRPID_BALTIC 0x03
581 #define LGRPID_GREEK 0x04
582 #define LGRPID_CYRILLIC 0x05
583 #define LGRPID_TURKISH 0x06
584 #define LGRPID_JAPANESE 0x07
585 #define LGRPID_KOREAN 0x08
586 #define LGRPID_TRADITIONAL_CHINESE 0x09
587 #define LGRPID_SIMPLIFIED_CHINESE 0x0A
588 #define LGRPID_THAI 0x0B
589 #define LGRPID_HEBREW 0x0C
590 #define LGRPID_ARABIC 0x0D
591 #define LGRPID_VIETNAMESE 0x0E
592 #define LGRPID_INDIC 0x0F
593 #define LGRPID_GEORGIAN 0x10
594 #define LGRPID_ARMENIAN 0x11
596 /* IDN defines. */
597 #define IDN_ALLOW_UNASSIGNED 0x1
598 #define IDN_USE_STD3_ASCII_RULES 0x2
600 /* MUI defines. */
601 #define MUI_LANGUAGE_ID 0x04
602 #define MUI_LANGUAGE_NAME 0x08
603 #define MUI_MERGE_SYSTEM_FALLBACK 0x10
604 #define MUI_MERGE_USER_FALLBACK 0x20
605 #define MUI_UI_FALLBACK MUI_MERGE_SYSTEM_FALLBACK | MUI_MERGE_USER_FALLBACK
606 #define MUI_THREAD_LANGUAGES 0x40
607 #define MUI_CONSOLE_FILTER 0x100
608 #define MUI_COMPLEX_SCRIPT_FILTER 0x200
609 #define MUI_RESET_FILTERS 0x001
610 #define MUI_USER_PREFERRED_UI_LANGUAGES 0x10
611 #define MUI_USE_INSTALLED_LANGUAGES 0x20
612 #define MUI_USE_SEARCH_ALL_LANGUAGES 0x40
613 #define MUI_LANG_NEUTRAL_PE_FILE 0x100
614 #define MUI_NON_LANG_NEUTRAL_FILE 0x200
615 #define MUI_MACHINE_LANGUAGE_SETTINGS 0x400
616 #define MUI_FILETYPE_NOT_LANGUAGE_NEUTRAL 0x001
617 #define MUI_FILETYPE_LANGUAGE_NEUTRAL_MAIN 0x002
618 #define MUI_FILETYPE_LANGUAGE_NEUTRAL_MUI 0x004
619 #define MUI_QUERY_TYPE 0x001
620 #define MUI_QUERY_CHECKSUM 0x002
621 #define MUI_QUERY_LANGUAGE_NAME 0x004
622 #define MUI_QUERY_RESOURCE_TYPES 0x008
623 #define MUI_FILEINFO_VERSION 0x001
624 #define MUI_FULL_LANGUAGE 0x01
625 #define MUI_PARTIAL_LANGUAGE 0x02
626 #define MUI_LIP_LANGUAGE 0x04
627 #define MUI_LANGUAGE_INSTALLED 0x20
628 #define MUI_LANGUAGE_LICENSED 0x40
630 typedef struct _FILEMUIINFO {
631 DWORD dwSize;
632 DWORD dwVersion;
633 DWORD dwFileType;
634 BYTE pChecksum[16];
635 BYTE pServiceChecksum[16];
636 DWORD dwLanguageNameOffset;
637 DWORD dwTypeIDMainSize;
638 DWORD dwTypeIDMainOffset;
639 DWORD dwTypeNameMainOffset;
640 DWORD dwTypeIDMUISize;
641 DWORD dwTypeIDMUIOffset;
642 DWORD dwTypeNameMUIOffset;
643 BYTE abBuffer[8];
644 } FILEMUIINFO, *PFILEMUIINFO;
646 /* Types
649 typedef enum _NORM_FORM {
650 NormalizationOther = 0,
651 NormalizationC = 0x1,
652 NormalizationD = 0x2,
653 NormalizationKC = 0x5,
654 NormalizationKD = 0x6
655 } NORM_FORM;
657 typedef DWORD CALID;
658 typedef DWORD CALTYPE;
659 typedef LONG GEOID;
660 typedef DWORD GEOCLASS;
661 typedef DWORD GEOTYPE;
662 typedef DWORD LCTYPE;
663 typedef DWORD LGRPID;
665 typedef struct
667 UINT MaxCharSize;
668 BYTE DefaultChar[MAX_DEFAULTCHAR];
669 BYTE LeadByte[MAX_LEADBYTES];
670 } CPINFO, *LPCPINFO;
672 typedef struct
674 UINT MaxCharSize;
675 BYTE DefaultChar[MAX_DEFAULTCHAR];
676 BYTE LeadByte[MAX_LEADBYTES];
677 WCHAR UnicodeDefaultChar;
678 UINT CodePage;
679 CHAR CodePageName[MAX_PATH];
680 } CPINFOEXA, *LPCPINFOEXA;
682 typedef struct
684 UINT MaxCharSize;
685 BYTE DefaultChar[MAX_DEFAULTCHAR];
686 BYTE LeadByte[MAX_LEADBYTES];
687 WCHAR UnicodeDefaultChar;
688 UINT CodePage;
689 WCHAR CodePageName[MAX_PATH];
690 } CPINFOEXW, *LPCPINFOEXW;
692 DECL_WINELIB_TYPE_AW(CPINFOEX)
693 DECL_WINELIB_TYPE_AW(LPCPINFOEX)
695 typedef struct _numberfmtA {
696 UINT NumDigits;
697 UINT LeadingZero;
698 UINT Grouping;
699 LPSTR lpDecimalSep;
700 LPSTR lpThousandSep;
701 UINT NegativeOrder;
702 } NUMBERFMTA, *LPNUMBERFMTA;
704 typedef struct _numberfmtW {
705 UINT NumDigits;
706 UINT LeadingZero;
707 UINT Grouping;
708 LPWSTR lpDecimalSep;
709 LPWSTR lpThousandSep;
710 UINT NegativeOrder;
711 } NUMBERFMTW, *LPNUMBERFMTW;
713 DECL_WINELIB_TYPE_AW(NUMBERFMT)
714 DECL_WINELIB_TYPE_AW(LPNUMBERFMT)
716 typedef struct _currencyfmtA
718 UINT NumDigits;
719 UINT LeadingZero;
720 UINT Grouping;
721 LPSTR lpDecimalSep;
722 LPSTR lpThousandSep;
723 UINT NegativeOrder;
724 UINT PositiveOrder;
725 LPSTR lpCurrencySymbol;
726 } CURRENCYFMTA, *LPCURRENCYFMTA;
728 typedef struct _currencyfmtW
730 UINT NumDigits;
731 UINT LeadingZero;
732 UINT Grouping;
733 LPWSTR lpDecimalSep;
734 LPWSTR lpThousandSep;
735 UINT NegativeOrder;
736 UINT PositiveOrder;
737 LPWSTR lpCurrencySymbol;
738 } CURRENCYFMTW, *LPCURRENCYFMTW;
740 DECL_WINELIB_TYPE_AW(CURRENCYFMT)
741 DECL_WINELIB_TYPE_AW(LPCURRENCYFMT)
743 typedef struct _nlsversioninfo {
744 DWORD dwNLSVersionInfoSize;
745 DWORD dwNLSVersion;
746 DWORD dwDefinedVersion;
747 DWORD dwEffectiveId;
748 GUID guidCustomVersion;
749 } NLSVERSIONINFO, *LPNLSVERSIONINFO;
751 typedef struct _nlsversioninfoex {
752 DWORD dwNLSVersionInfoSize;
753 DWORD dwNLSVersion;
754 DWORD dwDefinedVersion;
755 DWORD dwEffectiveId;
756 GUID guidCustomVersion;
757 } NLSVERSIONINFOEX, *LPNLSVERSIONINFOEX;
759 enum SYSNLS_FUNCTION { COMPARE_STRING = 1 };
760 typedef DWORD NLS_FUNCTION;
762 /* Define a bunch of callback types */
764 typedef BOOL (CALLBACK *CALINFO_ENUMPROCEXEX)(LPWSTR,CALID,LPWSTR,LPARAM);
765 typedef BOOL (CALLBACK *DATEFMT_ENUMPROCEXEX)(LPWSTR,CALID,LPARAM);
766 typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCEX)(LPWSTR,LPARAM);
767 #if defined(STRICT)
768 typedef BOOL (CALLBACK *CALINFO_ENUMPROCA)(LPSTR);
769 typedef BOOL (CALLBACK *CALINFO_ENUMPROCW)(LPWSTR);
770 typedef BOOL (CALLBACK *CALINFO_ENUMPROCEXA)(LPSTR,CALID);
771 typedef BOOL (CALLBACK *CALINFO_ENUMPROCEXW)(LPWSTR,CALID);
772 typedef BOOL (CALLBACK *CODEPAGE_ENUMPROCA)(LPSTR);
773 typedef BOOL (CALLBACK *CODEPAGE_ENUMPROCW)(LPWSTR);
774 typedef BOOL (CALLBACK *DATEFMT_ENUMPROCA)(LPSTR);
775 typedef BOOL (CALLBACK *DATEFMT_ENUMPROCW)(LPWSTR);
776 typedef BOOL (CALLBACK *DATEFMT_ENUMPROCEXA)(LPSTR,CALID);
777 typedef BOOL (CALLBACK *DATEFMT_ENUMPROCEXW)(LPWSTR,CALID);
778 typedef BOOL (CALLBACK *GEO_ENUMPROC)(GEOID);
779 typedef BOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCA)(LGRPID,LCID,LPSTR,LONG_PTR);
780 typedef BOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCW)(LGRPID,LCID,LPWSTR,LONG_PTR);
781 typedef BOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCA)(LGRPID,LPSTR,LPSTR,DWORD,LONG_PTR);
782 typedef BOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCW)(LGRPID,LPWSTR,LPWSTR,DWORD,LONG_PTR);
783 typedef BOOL (CALLBACK *LOCALE_ENUMPROCA)(LPSTR);
784 typedef BOOL (CALLBACK *LOCALE_ENUMPROCW)(LPWSTR);
785 typedef BOOL (CALLBACK *LOCALE_ENUMPROCEX)(LPWSTR, DWORD, LPARAM);
786 typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCA)(LPSTR);
787 typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCW)(LPWSTR);
788 typedef BOOL (CALLBACK *UILANGUAGE_ENUMPROCA)(LPSTR,LONG_PTR);
789 typedef BOOL (CALLBACK *UILANGUAGE_ENUMPROCW)(LPWSTR,LONG_PTR);
790 #else
791 typedef FARPROC CALINFO_ENUMPROCA;
792 typedef FARPROC CALINFO_ENUMPROCW;
793 typedef FARPROC CALINFO_ENUMPROCEXA;
794 typedef FARPROC CALINFO_ENUMPROCEXW;
795 typedef FARPROC CODEPAGE_ENUMPROCA;
796 typedef FARPROC CODEPAGE_ENUMPROCW;
797 typedef FARPROC DATEFMT_ENUMPROCA;
798 typedef FARPROC DATEFMT_ENUMPROCW;
799 typedef FARPROC DATEFMT_ENUMPROCEXA;
800 typedef FARPROC DATEFMT_ENUMPROCEXW;
801 typedef FARPROC GEO_ENUMPROC;
802 typedef FARPROC LANGGROUPLOCALE_ENUMPROCA;
803 typedef FARPROC LANGGROUPLOCALE_ENUMPROCW;
804 typedef FARPROC LANGUAGEGROUP_ENUMPROCA;
805 typedef FARPROC LANGUAGEGROUP_ENUMPROCW;
806 typedef FARPROC LOCALE_ENUMPROCA;
807 typedef FARPROC LOCALE_ENUMPROCW;
808 typedef FARPROC TIMEFMT_ENUMPROCA;
809 typedef FARPROC TIMEFMT_ENUMPROCW;
810 typedef FARPROC UILANGUAGE_ENUMPROCA;
811 typedef FARPROC UILANGUAGE_ENUMPROCW;
812 #endif /* STRICT */
814 DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROC)
815 DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROCEX)
816 DECL_WINELIB_TYPE_AW(CODEPAGE_ENUMPROC)
817 DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROC)
818 DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROCEX)
819 DECL_WINELIB_TYPE_AW(LANGGROUPLOCALE_ENUMPROC)
820 DECL_WINELIB_TYPE_AW(LANGUAGEGROUP_ENUMPROC)
821 DECL_WINELIB_TYPE_AW(LOCALE_ENUMPROC)
822 DECL_WINELIB_TYPE_AW(TIMEFMT_ENUMPROC)
823 DECL_WINELIB_TYPE_AW(UILANGUAGE_ENUMPROC)
825 /* Geographic Information types */
826 enum SYSGEOTYPE
828 GEO_NATION = 1,
829 GEO_LATITUDE,
830 GEO_LONGITUDE,
831 GEO_ISO2,
832 GEO_ISO3,
833 GEO_RFC1766,
834 GEO_LCID,
835 GEO_FRIENDLYNAME,
836 GEO_OFFICIALNAME,
837 GEO_TIMEZONES,
838 GEO_OFFICIALLANGUAGES,
839 GEO_ISO_UN_NUMBER,
840 GEO_PARENT,
841 GEO_DIALINGCODE,
842 GEO_CURRENCYCODE,
843 GEO_CURRENCYSYMBOL,
844 GEO_NAME,
845 GEO_ID
848 enum SYSGEOCLASS
850 GEOCLASS_ALL = 0,
851 GEOCLASS_REGION = 14,
852 GEOCLASS_NATION = 16
855 #define GEOID_NOT_AVAILABLE (-1)
858 /* NLS Functions.
861 WINBASEAPI INT WINAPI CompareStringA(LCID,DWORD,LPCSTR,INT,LPCSTR,INT);
862 WINBASEAPI INT WINAPI CompareStringW(LCID,DWORD,LPCWSTR,INT,LPCWSTR,INT);
863 #define CompareString WINELIB_NAME_AW(CompareString)
864 WINBASEAPI INT WINAPI CompareStringEx(LPCWSTR,DWORD,LPCWSTR,INT,LPCWSTR,INT,LPNLSVERSIONINFO,LPVOID,LPARAM);
865 WINBASEAPI INT WINAPI CompareStringOrdinal(const WCHAR *,INT,const WCHAR *,INT,BOOL);
866 WINBASEAPI LCID WINAPI ConvertDefaultLocale(LCID);
867 WINBASEAPI BOOL WINAPI EnumCalendarInfoA(CALINFO_ENUMPROCA,LCID,CALID,CALTYPE);
868 WINBASEAPI BOOL WINAPI EnumCalendarInfoW(CALINFO_ENUMPROCW,LCID,CALID,CALTYPE);
869 #define EnumCalendarInfo WINELIB_NAME_AW(EnumCalendarInfo)
870 WINBASEAPI BOOL WINAPI EnumCalendarInfoExA(CALINFO_ENUMPROCEXA,LCID,CALID,CALTYPE);
871 WINBASEAPI BOOL WINAPI EnumCalendarInfoExW(CALINFO_ENUMPROCEXW,LCID,CALID,CALTYPE);
872 #define EnumCalendarInfoEx WINELIB_NAME_AW(EnumCalendarInfoEx)
873 WINBASEAPI BOOL WINAPI EnumCalendarInfoExEx(CALINFO_ENUMPROCEXEX,LPCWSTR,CALID,LPCWSTR,CALTYPE,LPARAM);
874 WINBASEAPI BOOL WINAPI EnumDateFormatsA(DATEFMT_ENUMPROCA,LCID,DWORD);
875 WINBASEAPI BOOL WINAPI EnumDateFormatsW(DATEFMT_ENUMPROCW,LCID,DWORD);
876 #define EnumDateFormats WINELIB_NAME_AW(EnumDateFormats)
877 WINBASEAPI BOOL WINAPI EnumDateFormatsExA(DATEFMT_ENUMPROCEXA,LCID,DWORD);
878 WINBASEAPI BOOL WINAPI EnumDateFormatsExW(DATEFMT_ENUMPROCEXW,LCID,DWORD);
879 #define EnumDateFormatsEx WINELIB_NAME_AW(EnumDateFormatsEx)
880 WINBASEAPI BOOL WINAPI EnumDateFormatsExEx(DATEFMT_ENUMPROCEXEX,LPCWSTR,DWORD,LPARAM);
881 WINBASEAPI BOOL WINAPI EnumSystemCodePagesA(CODEPAGE_ENUMPROCA,DWORD);
882 WINBASEAPI BOOL WINAPI EnumSystemCodePagesW(CODEPAGE_ENUMPROCW,DWORD);
883 #define EnumSystemCodePages WINELIB_NAME_AW(EnumSystemCodePages)
884 WINBASEAPI BOOL WINAPI EnumSystemGeoID(GEOCLASS,GEOID,GEO_ENUMPROC);
885 WINBASEAPI BOOL WINAPI EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD);
886 WINBASEAPI BOOL WINAPI EnumSystemLocalesW(LOCALE_ENUMPROCW,DWORD);
887 #define EnumSystemLocales WINELIB_NAME_AW(EnumSystemLocales)
888 WINBASEAPI BOOL WINAPI EnumSystemLocalesEx(LOCALE_ENUMPROCEX,DWORD,LPARAM,LPVOID);
889 WINBASEAPI BOOL WINAPI EnumSystemLanguageGroupsA(LANGUAGEGROUP_ENUMPROCA,DWORD,LONG_PTR);
890 WINBASEAPI BOOL WINAPI EnumSystemLanguageGroupsW(LANGUAGEGROUP_ENUMPROCW,DWORD,LONG_PTR);
891 #define EnumSystemLanguageGroups WINELIB_NAME_AW(EnumSystemLanguageGroups)
892 WINBASEAPI BOOL WINAPI EnumLanguageGroupLocalesA(LANGGROUPLOCALE_ENUMPROCA,LGRPID,DWORD,LONG_PTR);
893 WINBASEAPI BOOL WINAPI EnumLanguageGroupLocalesW(LANGGROUPLOCALE_ENUMPROCW,LGRPID,DWORD,LONG_PTR);
894 #define EnumLanguageGroupLocales WINELIB_NAME_AW(EnumLanguageGroupLocales)
895 WINBASEAPI BOOL WINAPI EnumTimeFormatsA(TIMEFMT_ENUMPROCA,LCID,DWORD);
896 WINBASEAPI BOOL WINAPI EnumTimeFormatsW(TIMEFMT_ENUMPROCW,LCID,DWORD);
897 #define EnumTimeFormats WINELIB_NAME_AW(EnumTimeFormats)
898 WINBASEAPI BOOL WINAPI EnumTimeFormatsEx(TIMEFMT_ENUMPROCEX,LPCWSTR,DWORD,LPARAM);
899 WINBASEAPI BOOL WINAPI EnumUILanguagesA(UILANGUAGE_ENUMPROCA,DWORD,LONG_PTR);
900 WINBASEAPI BOOL WINAPI EnumUILanguagesW(UILANGUAGE_ENUMPROCW,DWORD,LONG_PTR);
901 #define EnumUILanguages WINELIB_NAME_AW(EnumUILanguages)
902 WINBASEAPI INT WINAPI FoldStringA(DWORD,LPCSTR,INT,LPSTR,INT);
903 WINBASEAPI INT WINAPI FoldStringW(DWORD,LPCWSTR,INT,LPWSTR,INT);
904 #define FoldString WINELIB_NAME_AW(FoldString)
905 WINBASEAPI UINT WINAPI GetACP(void);
906 WINBASEAPI BOOL WINAPI GetCPInfo(UINT,LPCPINFO);
907 WINBASEAPI BOOL WINAPI GetCPInfoExA(UINT,DWORD,LPCPINFOEXA);
908 WINBASEAPI BOOL WINAPI GetCPInfoExW(UINT,DWORD,LPCPINFOEXW);
909 #define GetCPInfoEx WINELIB_NAME_AW(GetCPInfoEx)
910 WINBASEAPI INT WINAPI GetCalendarInfoA(LCID,DWORD,DWORD,LPSTR,INT,LPDWORD);
911 WINBASEAPI INT WINAPI GetCalendarInfoEx(const WCHAR*,CALID,const WCHAR*,CALTYPE,WCHAR*,INT,DWORD*);
912 WINBASEAPI INT WINAPI GetCalendarInfoW(LCID,DWORD,DWORD,LPWSTR,INT,LPDWORD);
913 #define GetCalendarInfo WINELIB_NAME_AW(GetCalendarInfo)
914 WINBASEAPI INT WINAPI GetCurrencyFormatA(LCID,DWORD,LPCSTR,const CURRENCYFMTA*,LPSTR,INT);
915 WINBASEAPI INT WINAPI GetCurrencyFormatEx(LPCWSTR,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,int);
916 WINBASEAPI INT WINAPI GetCurrencyFormatW(LCID,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,INT);
917 #define GetCurrencyFormat WINELIB_NAME_AW(GetCurrencyFormat)
918 WINBASEAPI INT WINAPI GetDateFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT);
919 WINBASEAPI INT WINAPI GetDateFormatEx(LPCWSTR,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT,LPCWSTR);
920 WINBASEAPI INT WINAPI GetDateFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT);
921 #define GetDateFormat WINELIB_NAME_AW(GetDateFormat)
922 WINBASEAPI BOOL WINAPI GetFileMUIInfo(DWORD,PCWSTR,PFILEMUIINFO,DWORD*);
923 WINBASEAPI BOOL WINAPI GetFileMUIPath(DWORD,PCWSTR,PWSTR,PULONG,PWSTR,PULONG,PULONGLONG);
924 WINBASEAPI INT WINAPI GetGeoInfoA(GEOID,GEOTYPE,LPSTR,INT,LANGID);
925 WINBASEAPI INT WINAPI GetGeoInfoW(GEOID,GEOTYPE,LPWSTR,INT,LANGID);
926 #define GetGeoInfo WINELIB_NAME_AW(GetGeoInfo)
927 WINBASEAPI INT WINAPI GetLocaleInfoA(LCID,LCTYPE,LPSTR,INT);
928 WINBASEAPI INT WINAPI GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT);
929 #define GetLocaleInfo WINELIB_NAME_AW(GetLocaleInfo)
930 WINBASEAPI INT WINAPI GetLocaleInfoEx(LPCWSTR,LCTYPE,LPWSTR,INT);
931 WINBASEAPI BOOL WINAPI GetNLSVersion(NLS_FUNCTION,LCID,NLSVERSIONINFO*);
932 WINBASEAPI BOOL WINAPI GetNLSVersionEx(NLS_FUNCTION,LPCWSTR,NLSVERSIONINFOEX*);
933 WINBASEAPI INT WINAPI GetNumberFormatA(LCID,DWORD,LPCSTR,const NUMBERFMTA*,LPSTR,INT);
934 WINBASEAPI INT WINAPI GetNumberFormatW(LCID,DWORD,LPCWSTR,const NUMBERFMTW*,LPWSTR,INT);
935 #define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat)
936 WINBASEAPI UINT WINAPI GetOEMCP(void);
937 WINBASEAPI BOOL WINAPI GetProcessPreferredUILanguages(DWORD,PULONG,PZZWSTR,PULONG);
938 WINBASEAPI BOOL WINAPI GetStringTypeA(LCID,DWORD,LPCSTR,INT,LPWORD);
939 WINBASEAPI BOOL WINAPI GetStringTypeW(DWORD,LPCWSTR,INT,LPWORD);
940 WINBASEAPI BOOL WINAPI GetStringTypeExA(LCID,DWORD,LPCSTR,INT,LPWORD);
941 WINBASEAPI BOOL WINAPI GetStringTypeExW(LCID,DWORD,LPCWSTR,INT,LPWORD);
942 #define GetStringTypeEx WINELIB_NAME_AW(GetStringTypeEx)
943 WINBASEAPI LANGID WINAPI GetSystemDefaultLangID(void);
944 WINBASEAPI INT WINAPI GetSystemDefaultLocaleName(LPWSTR,int);
945 WINBASEAPI LCID WINAPI GetSystemDefaultLCID(void);
946 WINBASEAPI LANGID WINAPI GetSystemDefaultUILanguage(void);
947 WINBASEAPI BOOL WINAPI GetSystemPreferredUILanguages(DWORD,ULONG*,WCHAR*,ULONG*);
948 WINBASEAPI LCID WINAPI GetThreadLocale(void);
949 WINBASEAPI BOOL WINAPI GetThreadPreferredUILanguages(DWORD,ULONG*,WCHAR*,ULONG*);
950 WINBASEAPI LANGID WINAPI GetThreadUILanguage(void);
951 WINBASEAPI BOOL WINAPI GetUserPreferredUILanguages(DWORD,ULONG*,WCHAR*,ULONG*);
952 WINBASEAPI INT WINAPI GetTimeFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT);
953 WINBASEAPI INT WINAPI GetTimeFormatEx(LPCWSTR,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT);
954 WINBASEAPI INT WINAPI GetTimeFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT);
955 #define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat)
956 WINBASEAPI INT WINAPI GetUserDefaultGeoName(LPWSTR,int);
957 WINBASEAPI LANGID WINAPI GetUserDefaultLangID(void);
958 WINBASEAPI LCID WINAPI GetUserDefaultLCID(void);
959 WINBASEAPI INT WINAPI GetUserDefaultLocaleName(LPWSTR,int);
960 WINBASEAPI LANGID WINAPI GetUserDefaultUILanguage(void);
961 WINBASEAPI GEOID WINAPI GetUserGeoID(GEOCLASS);
962 WINNORMALIZEAPI INT WINAPI IdnToAscii(DWORD,LPCWSTR,INT,LPWSTR,INT);
963 WINNORMALIZEAPI INT WINAPI IdnToNameprepUnicode(DWORD,LPCWSTR,INT,LPWSTR,INT);
964 WINNORMALIZEAPI INT WINAPI IdnToUnicode(DWORD,LPCWSTR,INT,LPWSTR,INT);
965 WINBASEAPI BOOL WINAPI IsDBCSLeadByte(BYTE);
966 WINBASEAPI BOOL WINAPI IsDBCSLeadByteEx(UINT,BYTE);
967 WINBASEAPI BOOL WINAPI IsNLSDefinedString(NLS_FUNCTION,DWORD,NLSVERSIONINFO*,LPCWSTR,INT);
968 WINNORMALIZEAPI BOOL WINAPI IsNormalizedString(NORM_FORM,LPCWSTR,INT);
969 WINBASEAPI BOOL WINAPI IsValidCodePage(UINT);
970 WINBASEAPI BOOL WINAPI IsValidLanguageGroup(LGRPID,DWORD);
971 WINBASEAPI BOOL WINAPI IsValidLocale(LCID,DWORD);
972 WINBASEAPI BOOL WINAPI IsValidLocaleName(LPCWSTR);
973 WINBASEAPI DWORD WINAPI IsValidNLSVersion(NLS_FUNCTION,LPCWSTR,NLSVERSIONINFOEX*);
974 WINBASEAPI INT WINAPI LCIDToLocaleName(LCID,LPWSTR,INT,DWORD);
975 WINBASEAPI INT WINAPI LCMapStringA(LCID,DWORD,LPCSTR,INT,LPSTR,INT);
976 WINBASEAPI INT WINAPI LCMapStringW(LCID,DWORD,LPCWSTR,INT,LPWSTR,INT);
977 #define LCMapString WINELIB_NAME_AW(LCMapString)
978 WINBASEAPI INT WINAPI LCMapStringEx(LPCWSTR,DWORD,LPCWSTR,INT,LPWSTR,INT,LPNLSVERSIONINFO,LPVOID,LPARAM);
979 WINBASEAPI LCID WINAPI LocaleNameToLCID(LPCWSTR,DWORD);
980 WINBASEAPI INT WINAPI MultiByteToWideChar(UINT,DWORD,LPCSTR,INT,LPWSTR,INT);
981 WINNORMALIZEAPI INT WINAPI NormalizeString(NORM_FORM,LPCWSTR,INT,LPWSTR,INT);
982 WINBASEAPI INT WINAPI ResolveLocaleName(LPCWSTR,LPWSTR,INT);
983 WINBASEAPI INT WINAPI SetCalendarInfoA(LCID,CALID,CALTYPE,LPCSTR);
984 WINBASEAPI INT WINAPI SetCalendarInfoW(LCID,CALID,CALTYPE,LPCWSTR);
985 #define SetCalendarInfo WINELIB_NAME_AW(SetCalendarInfo)
986 WINBASEAPI BOOL WINAPI SetLocaleInfoA(LCID,LCTYPE,LPCSTR);
987 WINBASEAPI BOOL WINAPI SetLocaleInfoW(LCID,LCTYPE,LPCWSTR);
988 #define SetLocaleInfo WINELIB_NAME_AW(SetLocaleInfo)
989 WINBASEAPI BOOL WINAPI SetProcessPreferredUILanguages(DWORD,PCZZWSTR,PULONG);
990 WINBASEAPI BOOL WINAPI SetThreadLocale(LCID);
991 WINBASEAPI BOOL WINAPI SetThreadPreferredUILanguages(DWORD,PCZZWSTR,PULONG);
992 WINBASEAPI LANGID WINAPI SetThreadUILanguage(LANGID);
993 WINBASEAPI BOOL WINAPI SetUserGeoID(GEOID);
994 WINBASEAPI BOOL WINAPI SetUserGeoName(PWSTR);
995 WINBASEAPI INT WINAPI WideCharToMultiByte(UINT,DWORD,LPCWSTR,INT,LPSTR,INT,LPCSTR,LPBOOL);
996 WINBASEAPI INT WINAPI FindNLSStringEx(const WCHAR *,DWORD,const WCHAR *,INT,const WCHAR *,INT,INT *,NLSVERSIONINFO *,void *,LPARAM);
998 #ifdef __cplusplus
1000 #endif
1002 #endif /* !NONLS */
1003 #endif /* __WINE_WINNLS_H */