1 | /*
|
---|
2 | * Copyright (C) the Wine project
|
---|
3 | *
|
---|
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.
|
---|
8 | *
|
---|
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.
|
---|
13 | *
|
---|
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
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | #ifndef __WINE_WINNLS_H
|
---|
29 | #define __WINE_WINNLS_H
|
---|
30 | #ifndef NONLS
|
---|
31 |
|
---|
32 | #ifdef __cplusplus
|
---|
33 | extern "C" {
|
---|
34 | #endif
|
---|
35 |
|
---|
36 | /* Country codes */
|
---|
37 | #define CTRY_DEFAULT (0)
|
---|
38 | #define CTRY_ALBANIA (355)
|
---|
39 | #define CTRY_ALGERIA (213)
|
---|
40 | #define CTRY_ARGENTINA (54)
|
---|
41 | #define CTRY_ARMENIA (374)
|
---|
42 | #define CTRY_AUSTRALIA (61)
|
---|
43 | #define CTRY_AUSTRIA (43)
|
---|
44 | #define CTRY_AZERBAIJAN (994)
|
---|
45 | #define CTRY_BAHRAIN (973)
|
---|
46 | #define CTRY_BELARUS (375)
|
---|
47 | #define CTRY_BELGIUM (32)
|
---|
48 | #define CTRY_BELIZE (501)
|
---|
49 | #define CTRY_BOLIVIA (591)
|
---|
50 | #define CTRY_BRAZIL (55)
|
---|
51 | #define CTRY_BRUNEI_DARUSSALAM (673)
|
---|
52 | #define CTRY_BULGARIA (359)
|
---|
53 | #define CTRY_CANADA (2)
|
---|
54 | #define CTRY_CARIBBEAN (1)
|
---|
55 | #define CTRY_CHILE (56)
|
---|
56 | #define CTRY_COLOMBIA (57)
|
---|
57 | #define CTRY_COSTA_RICA (506)
|
---|
58 | #define CTRY_CROATIA (385)
|
---|
59 | #define CTRY_CZECH (420)
|
---|
60 | #define CTRY_DENMARK (45)
|
---|
61 | #define CTRY_DOMINICAN_REPUBLIC (1)
|
---|
62 | #define CTRY_ECUADOR (593)
|
---|
63 | #define CTRY_EGYPT (20)
|
---|
64 | #define CTRY_EL_SALVADOR (503)
|
---|
65 | #define CTRY_ESTONIA (372)
|
---|
66 | #define CTRY_FAEROE_ISLANDS (298)
|
---|
67 | #define CTRY_FINLAND (358)
|
---|
68 | #define CTRY_FRANCE (33)
|
---|
69 | #define CTRY_GEORGIA (995)
|
---|
70 | #define CTRY_GERMANY (49)
|
---|
71 | #define CTRY_GREECE (30)
|
---|
72 | #define CTRY_GUATEMALA (502)
|
---|
73 | #define CTRY_HONDURAS (504)
|
---|
74 | #define CTRY_HONG_KONG (852)
|
---|
75 | #define CTRY_HUNGARY (36)
|
---|
76 | #define CTRY_ICELAND (354)
|
---|
77 | #define CTRY_INDIA (91)
|
---|
78 | #define CTRY_INDONESIA (62)
|
---|
79 | #define CTRY_IRAN (981)
|
---|
80 | #define CTRY_IRAQ (964)
|
---|
81 | #define CTRY_IRELAND (353)
|
---|
82 | #define CTRY_ISRAEL (972)
|
---|
83 | #define CTRY_ITALY (39)
|
---|
84 | #define CTRY_JAMAICA (1)
|
---|
85 | #define CTRY_JAPAN (81)
|
---|
86 | #define CTRY_JORDAN (962)
|
---|
87 | #define CTRY_KAZAKSTAN (7)
|
---|
88 | #define CTRY_KENYA (254)
|
---|
89 | #define CTRY_KUWAIT (965)
|
---|
90 | #define CTRY_KYRGYZSTAN (996)
|
---|
91 | #define CTRY_LATVIA (371)
|
---|
92 | #define CTRY_LEBANON (961)
|
---|
93 | #define CTRY_LIBYA (218)
|
---|
94 | #define CTRY_LIECHTENSTEIN (41)
|
---|
95 | #define CTRY_LITHUANIA (370)
|
---|
96 | #define CTRY_LUXEMBOURG (352)
|
---|
97 | #define CTRY_MACAU (853)
|
---|
98 | #define CTRY_MACEDONIA (389)
|
---|
99 | #define CTRY_MALAYSIA (60)
|
---|
100 | #define CTRY_MALDIVES (960)
|
---|
101 | #define CTRY_MEXICO (52)
|
---|
102 | #define CTRY_MONACO (33)
|
---|
103 | #define CTRY_MONGOLIA (976)
|
---|
104 | #define CTRY_MOROCCO (212)
|
---|
105 | #define CTRY_NETHERLANDS (31)
|
---|
106 | #define CTRY_NEW_ZEALAND (64)
|
---|
107 | #define CTRY_NICARAGUA (505)
|
---|
108 | #define CTRY_NORWAY (47)
|
---|
109 | #define CTRY_OMAN (968)
|
---|
110 | #define CTRY_PAKISTAN (92)
|
---|
111 | #define CTRY_PANAMA (507)
|
---|
112 | #define CTRY_PARAGUAY (595)
|
---|
113 | #define CTRY_PERU (51)
|
---|
114 | #define CTRY_PHILIPPINES (63)
|
---|
115 | #define CTRY_POLAND (48)
|
---|
116 | #define CTRY_PORTUGAL (351)
|
---|
117 | #define CTRY_PRCHINA (86)
|
---|
118 | #define CTRY_PUERTO_RICO (1)
|
---|
119 | #define CTRY_QATAR (974)
|
---|
120 | #define CTRY_ROMANIA (40)
|
---|
121 | #define CTRY_RUSSIA (7)
|
---|
122 | #define CTRY_SAUDI_ARABIA (966)
|
---|
123 | #define CTRY_SERBIA (381)
|
---|
124 | #define CTRY_SINGAPORE (65)
|
---|
125 | #define CTRY_SLOVAK (421)
|
---|
126 | #define CTRY_SLOVENIA (386)
|
---|
127 | #define CTRY_SOUTH_AFRICA (27)
|
---|
128 | #define CTRY_SOUTH_KOREA (82)
|
---|
129 | #define CTRY_SPAIN (34)
|
---|
130 | #define CTRY_SWEDEN (46)
|
---|
131 | #define CTRY_SWITZERLAND (41)
|
---|
132 | #define CTRY_SYRIA (963)
|
---|
133 | #define CTRY_TAIWAN (886)
|
---|
134 | #define CTRY_TATARSTAN (7)
|
---|
135 | #define CTRY_THAILAND (66)
|
---|
136 | #define CTRY_TRINIDAD_Y_TOBAGO (1)
|
---|
137 | #define CTRY_TUNISIA (216)
|
---|
138 | #define CTRY_TURKEY (90)
|
---|
139 | #define CTRY_UAE (971)
|
---|
140 | #define CTRY_UKRAINE (380)
|
---|
141 | #define CTRY_UNITED_KINGDOM (44)
|
---|
142 | #define CTRY_UNITED_STATES (1)
|
---|
143 | #define CTRY_URUGUAY (598)
|
---|
144 | #define CTRY_UZBEKISTAN (7)
|
---|
145 | #define CTRY_VENEZUELA (58)
|
---|
146 | #define CTRY_VIET_NAM (84)
|
---|
147 | #define CTRY_YEMEN (967)
|
---|
148 | #define CTRY_ZIMBABWE (263)
|
---|
149 |
|
---|
150 | #define MB_PRECOMPOSED 0x01
|
---|
151 | #define MB_COMPOSITE 0x02
|
---|
152 | #define MB_USEGLYPHCHARS 0x04
|
---|
153 | #define MB_ERR_INVALID_CHARS 0x08
|
---|
154 |
|
---|
155 | #define LGRPID_INSTALLED 0x1
|
---|
156 | #define LGRPID_SUPPORTED 0x2
|
---|
157 |
|
---|
158 | #define LCID_INSTALLED 0x1
|
---|
159 | #define LCID_SUPPORTED 0x2
|
---|
160 | #define LCID_ALTERNATE_SORTS 0x4
|
---|
161 |
|
---|
162 | /* Locale flags */
|
---|
163 | #define LOCALE_NOUSEROVERRIDE 0x80000000
|
---|
164 | #define LOCALE_USE_CP_ACP 0x40000000
|
---|
165 | #define LOCALE_RETURN_NUMBER 0x20000000
|
---|
166 | #define LOCALE_RETURN_GENITIVE_NAMES 0x10000000
|
---|
167 |
|
---|
168 | /* Locale information types */
|
---|
169 | #define LOCALE_ILANGUAGE 0x0001
|
---|
170 | #define LOCALE_SLANGUAGE 0x0002
|
---|
171 | #define LOCALE_SENGLANGUAGE 0x1001
|
---|
172 | #define LOCALE_SABBREVLANGNAME 0x0003
|
---|
173 | #define LOCALE_SNATIVELANGNAME 0x0004
|
---|
174 | #define LOCALE_ICOUNTRY 0x0005
|
---|
175 | #define LOCALE_SCOUNTRY 0x0006
|
---|
176 | #define LOCALE_SENGCOUNTRY 0x1002
|
---|
177 | #define LOCALE_SABBREVCTRYNAME 0x0007
|
---|
178 | #define LOCALE_SNATIVECTRYNAME 0x0008
|
---|
179 | #define LOCALE_IDEFAULTLANGUAGE 0x0009
|
---|
180 | #define LOCALE_IDEFAULTCOUNTRY 0x000A
|
---|
181 | #define LOCALE_IDEFAULTCODEPAGE 0x000B
|
---|
182 | #define LOCALE_IDEFAULTANSICODEPAGE 0x1004
|
---|
183 | #define LOCALE_IDEFAULTMACCODEPAGE 0x1011
|
---|
184 | #define LOCALE_SLIST 0x000C
|
---|
185 | #define LOCALE_IMEASURE 0x000D
|
---|
186 | #define LOCALE_SDECIMAL 0x000E
|
---|
187 | #define LOCALE_STHOUSAND 0x000F
|
---|
188 | #define LOCALE_SGROUPING 0x0010
|
---|
189 | #define LOCALE_IDIGITS 0x0011
|
---|
190 | #define LOCALE_ILZERO 0x0012
|
---|
191 | #define LOCALE_INEGNUMBER 0x1010
|
---|
192 | #define LOCALE_SNATIVEDIGITS 0x0013
|
---|
193 | #define LOCALE_SCURRENCY 0x0014
|
---|
194 | #define LOCALE_SINTLSYMBOL 0x0015
|
---|
195 | #define LOCALE_SMONDECIMALSEP 0x0016
|
---|
196 | #define LOCALE_SMONTHOUSANDSEP 0x0017
|
---|
197 | #define LOCALE_SMONGROUPING 0x0018
|
---|
198 | #define LOCALE_ICURRDIGITS 0x0019
|
---|
199 | #define LOCALE_IINTLCURRDIGITS 0x001A
|
---|
200 | #define LOCALE_ICURRENCY 0x001B
|
---|
201 | #define LOCALE_INEGCURR 0x001C
|
---|
202 | #define LOCALE_SDATE 0x001D
|
---|
203 | #define LOCALE_STIME 0x001E
|
---|
204 | #define LOCALE_SSHORTDATE 0x001F
|
---|
205 | #define LOCALE_SLONGDATE 0x0020
|
---|
206 | #define LOCALE_STIMEFORMAT 0x1003
|
---|
207 | #define LOCALE_IDATE 0x0021
|
---|
208 | #define LOCALE_ILDATE 0x0022
|
---|
209 | #define LOCALE_ITIME 0x0023
|
---|
210 | #define LOCALE_ITIMEMARKPOSN 0x1005
|
---|
211 | #define LOCALE_ICENTURY 0x0024
|
---|
212 | #define LOCALE_ITLZERO 0x0025
|
---|
213 | #define LOCALE_IDAYLZERO 0x0026
|
---|
214 | #define LOCALE_IMONLZERO 0x0027
|
---|
215 | #define LOCALE_S1159 0x0028
|
---|
216 | #define LOCALE_S2359 0x0029
|
---|
217 | #define LOCALE_ICALENDARTYPE 0x1009
|
---|
218 | #define LOCALE_IOPTIONALCALENDAR 0x100B
|
---|
219 | #define LOCALE_IFIRSTDAYOFWEEK 0x100C
|
---|
220 | #define LOCALE_IFIRSTWEEKOFYEAR 0x100D
|
---|
221 | #define LOCALE_SDAYNAME1 0x002A
|
---|
222 | #define LOCALE_SDAYNAME2 0x002B
|
---|
223 | #define LOCALE_SDAYNAME3 0x002C
|
---|
224 | #define LOCALE_SDAYNAME4 0x002D
|
---|
225 | #define LOCALE_SDAYNAME5 0x002E
|
---|
226 | #define LOCALE_SDAYNAME6 0x002F
|
---|
227 | #define LOCALE_SDAYNAME7 0x0030
|
---|
228 | #define LOCALE_SABBREVDAYNAME1 0x0031
|
---|
229 | #define LOCALE_SABBREVDAYNAME2 0x0032
|
---|
230 | #define LOCALE_SABBREVDAYNAME3 0x0033
|
---|
231 | #define LOCALE_SABBREVDAYNAME4 0x0034
|
---|
232 | #define LOCALE_SABBREVDAYNAME5 0x0035
|
---|
233 | #define LOCALE_SABBREVDAYNAME6 0x0036
|
---|
234 | #define LOCALE_SABBREVDAYNAME7 0x0037
|
---|
235 | #define LOCALE_SMONTHNAME1 0x0038
|
---|
236 | #define LOCALE_SMONTHNAME2 0x0039
|
---|
237 | #define LOCALE_SMONTHNAME3 0x003A
|
---|
238 | #define LOCALE_SMONTHNAME4 0x003B
|
---|
239 | #define LOCALE_SMONTHNAME5 0x003C
|
---|
240 | #define LOCALE_SMONTHNAME6 0x003D
|
---|
241 | #define LOCALE_SMONTHNAME7 0x003E
|
---|
242 | #define LOCALE_SMONTHNAME8 0x003F
|
---|
243 | #define LOCALE_SMONTHNAME9 0x0040
|
---|
244 | #define LOCALE_SMONTHNAME10 0x0041
|
---|
245 | #define LOCALE_SMONTHNAME11 0x0042
|
---|
246 | #define LOCALE_SMONTHNAME12 0x0043
|
---|
247 | #define LOCALE_SMONTHNAME13 0x100E
|
---|
248 | #define LOCALE_SABBREVMONTHNAME1 0x0044
|
---|
249 | #define LOCALE_SABBREVMONTHNAME2 0x0045
|
---|
250 | #define LOCALE_SABBREVMONTHNAME3 0x0046
|
---|
251 | #define LOCALE_SABBREVMONTHNAME4 0x0047
|
---|
252 | #define LOCALE_SABBREVMONTHNAME5 0x0048
|
---|
253 | #define LOCALE_SABBREVMONTHNAME6 0x0049
|
---|
254 | #define LOCALE_SABBREVMONTHNAME7 0x004A
|
---|
255 | #define LOCALE_SABBREVMONTHNAME8 0x004B
|
---|
256 | #define LOCALE_SABBREVMONTHNAME9 0x004C
|
---|
257 | #define LOCALE_SABBREVMONTHNAME10 0x004D
|
---|
258 | #define LOCALE_SABBREVMONTHNAME11 0x004E
|
---|
259 | #define LOCALE_SABBREVMONTHNAME12 0x004F
|
---|
260 | #define LOCALE_SABBREVMONTHNAME13 0x100F
|
---|
261 | #define LOCALE_SPOSITIVESIGN 0x0050
|
---|
262 | #define LOCALE_SNEGATIVESIGN 0x0051
|
---|
263 | #define LOCALE_IPOSSIGNPOSN 0x0052
|
---|
264 | #define LOCALE_INEGSIGNPOSN 0x0053
|
---|
265 | #define LOCALE_IPOSSYMPRECEDES 0x0054
|
---|
266 | #define LOCALE_IPOSSEPBYSPACE 0x0055
|
---|
267 | #define LOCALE_INEGSYMPRECEDES 0x0056
|
---|
268 | #define LOCALE_INEGSEPBYSPACE 0x0057
|
---|
269 | #define LOCALE_FONTSIGNATURE 0x0058
|
---|
270 | #define LOCALE_SISO639LANGNAME 0x0059
|
---|
271 | #define LOCALE_SISO3166CTRYNAME 0x005A
|
---|
272 | #define LOCALE_SNAME 0x005C
|
---|
273 | #define LOCALE_SDURATION 0x005D
|
---|
274 | #define LOCALE_SKEYBOARDSTOINSTALL 0x005E
|
---|
275 | #define LOCALE_SSHORTESTDAYNAME1 0x0060
|
---|
276 | #define LOCALE_SSHORTESTDAYNAME2 0x0061
|
---|
277 | #define LOCALE_SSHORTESTDAYNAME3 0x0062
|
---|
278 | #define LOCALE_SSHORTESTDAYNAME4 0x0063
|
---|
279 | #define LOCALE_SSHORTESTDAYNAME5 0x0064
|
---|
280 | #define LOCALE_SSHORTESTDAYNAME6 0x0065
|
---|
281 | #define LOCALE_SSHORTESTDAYNAME7 0x0066
|
---|
282 | #define LOCALE_SISO639LANGNAME2 0x0067
|
---|
283 | #define LOCALE_SISO3166CTRYNAME2 0x0068
|
---|
284 | #define LOCALE_SNAN 0x0069
|
---|
285 | #define LOCALE_SPOSINFINITY 0x006A
|
---|
286 | #define LOCALE_SNEGINFINITY 0x006B
|
---|
287 | #define LOCALE_SSCRIPTS 0x006C
|
---|
288 | #define LOCALE_SPARENT 0x006D
|
---|
289 | #define LOCALE_SCONSOLEFALLBACKNAME 0x006E
|
---|
290 | #define LOCALE_SLANGDISPLAYNAME 0x006F
|
---|
291 |
|
---|
292 | #define LOCALE_IDEFAULTEBCDICCODEPAGE 0x1012
|
---|
293 | #define LOCALE_IPAPERSIZE 0x100A
|
---|
294 | #define LOCALE_SENGCURRNAME 0x1007
|
---|
295 | #define LOCALE_SNATIVECURRNAME 0x1008
|
---|
296 | #define LOCALE_SYEARMONTH 0x1006
|
---|
297 | #define LOCALE_SSORTNAME 0x1013
|
---|
298 | #define LOCALE_IDIGITSUBSTITUTION 0x1014
|
---|
299 |
|
---|
300 | #define LOCALE_IDEFAULTUNIXCODEPAGE 0x1030 /* Wine extension */
|
---|
301 |
|
---|
302 | #define NORM_IGNORECASE 0x00001
|
---|
303 | #define NORM_IGNORENONSPACE 0x00002
|
---|
304 | #define NORM_IGNORESYMBOLS 0x00004
|
---|
305 | #define NORM_STRINGSORT 0x01000
|
---|
306 | #define NORM_IGNOREKANATYPE 0x10000
|
---|
307 | #define NORM_IGNOREWIDTH 0x20000
|
---|
308 |
|
---|
309 | #define CP_ACP 0
|
---|
310 | #define CP_OEMCP 1
|
---|
311 | #define CP_MACCP 2
|
---|
312 | #define CP_THREAD_ACP 3
|
---|
313 | #define CP_SYMBOL 42
|
---|
314 | #define CP_UTF7 65000
|
---|
315 | #define CP_UTF8 65001
|
---|
316 |
|
---|
317 | #define CP_UNIXCP 65010 /* Wine extension */
|
---|
318 |
|
---|
319 | #define CP_INSTALLED 0x1
|
---|
320 | #define CP_SUPPORTED 0x2
|
---|
321 |
|
---|
322 | #define HIGH_SURROGATE_START 0xd800
|
---|
323 | #define HIGH_SURROGATE_END 0xdbff
|
---|
324 | #define LOW_SURROGATE_START 0xdc00
|
---|
325 | #define LOW_SURROGATE_END 0xdfff
|
---|
326 |
|
---|
327 | #define IS_HIGH_SURROGATE(ch) ((ch) >= HIGH_SURROGATE_START && (ch) <= HIGH_SURROGATE_END)
|
---|
328 | #define IS_LOW_SURROGATE(ch) ((ch) >= LOW_SURROGATE_START && (ch) <= LOW_SURROGATE_END)
|
---|
329 | #define IS_SURROGATE_PAIR(high,low) (IS_HIGH_SURROGATE(high) && IS_LOW_SURROGATE(low))
|
---|
330 |
|
---|
331 | #define WC_DISCARDNS 0x0010
|
---|
332 | #define WC_SEPCHARS 0x0020
|
---|
333 | #define WC_DEFAULTCHAR 0x0040
|
---|
334 | #define WC_ERR_INVALID_CHARS 0x0080
|
---|
335 | #define WC_COMPOSITECHECK 0x0200
|
---|
336 | #define WC_NO_BEST_FIT_CHARS 0x0400
|
---|
337 |
|
---|
338 | #define MAP_FOLDCZONE 0x0010
|
---|
339 | #define MAP_PRECOMPOSED 0x0020
|
---|
340 | #define MAP_COMPOSITE 0x0040
|
---|
341 | #define MAP_FOLDDIGITS 0x0080
|
---|
342 | #define MAP_EXPAND_LIGATURES 0x2000
|
---|
343 |
|
---|
344 |
|
---|
345 | /* String mapping flags */
|
---|
346 | #define LCMAP_LOWERCASE 0x00000100 /* Make lower-case */
|
---|
347 | #define LCMAP_UPPERCASE 0x00000200 /* Make upper-case */
|
---|
348 | #define LCMAP_SORTKEY 0x00000400 /* Create a sort key */
|
---|
349 | #define LCMAP_BYTEREV 0x00000800 /* Reverse the result */
|
---|
350 |
|
---|
351 | #define SORT_STRINGSORT 0x00001000 /* Take punctuation into account */
|
---|
352 |
|
---|
353 | #define LCMAP_HIRAGANA 0x00100000 /* Transform Japanese katakana into hiragana */
|
---|
354 | #define LCMAP_KATAKANA 0x00200000 /* Transform Japanese hiragana into katakana */
|
---|
355 | #define LCMAP_HALFWIDTH 0x00400000 /* Use single byte chars in output */
|
---|
356 | #define LCMAP_FULLWIDTH 0x00800000 /* Use double byte chars in output */
|
---|
357 |
|
---|
358 | #define LCMAP_LINGUISTIC_CASING 0x01000000 /* Change case by using language context */
|
---|
359 | #define LCMAP_SIMPLIFIED_CHINESE 0x02000000 /* Transform Chinese traditional into simplified */
|
---|
360 | #define LCMAP_TRADITIONAL_CHINESE 0x04000000 /* Transform Chinese simplified into traditional */
|
---|
361 |
|
---|
362 | /* Date and time formatting flags */
|
---|
363 | #define DATE_SHORTDATE 0x01 /* Short date format */
|
---|
364 | #define DATE_LONGDATE 0x02 /* Long date format */
|
---|
365 | #define DATE_USE_ALT_CALENDAR 0x04 /* Use an Alternate calendar */
|
---|
366 | #define DATE_YEARMONTH 0x08 /* Year/month format */
|
---|
367 | #define DATE_LTRREADING 0x10 /* Add LTR reading marks */
|
---|
368 | #define DATE_RTLREADING 0x20 /* Add RTL reading marks */
|
---|
369 |
|
---|
370 | #define TIME_FORCE24HOURFORMAT 0x08 /* Always use 24 hour clock */
|
---|
371 | #define TIME_NOTIMEMARKER 0x04 /* show no AM/PM */
|
---|
372 | #define TIME_NOSECONDS 0x02 /* show no seconds */
|
---|
373 | #define TIME_NOMINUTESORSECONDS 0x01 /* show no minutes either */
|
---|
374 |
|
---|
375 | /* Unicode char type flags */
|
---|
376 | #define CT_CTYPE1 0x0001 /* usual ctype */
|
---|
377 | #define CT_CTYPE2 0x0002 /* bidirectional layout info */
|
---|
378 | #define CT_CTYPE3 0x0004 /* textprocessing info */
|
---|
379 |
|
---|
380 | /* Type 1 flags */
|
---|
381 | #define C1_UPPER 0x0001
|
---|
382 | #define C1_LOWER 0x0002
|
---|
383 | #define C1_DIGIT 0x0004
|
---|
384 | #define C1_SPACE 0x0008
|
---|
385 | #define C1_PUNCT 0x0010
|
---|
386 | #define C1_CNTRL 0x0020
|
---|
387 | #define C1_BLANK 0x0040
|
---|
388 | #define C1_XDIGIT 0x0080
|
---|
389 | #define C1_ALPHA 0x0100
|
---|
390 |
|
---|
391 | /* Type 2 flags */
|
---|
392 | #define C2_LEFTTORIGHT 0x0001
|
---|
393 | #define C2_RIGHTTOLEFT 0x0002
|
---|
394 | #define C2_EUROPENUMBER 0x0003
|
---|
395 | #define C2_EUROPESEPARATOR 0x0004
|
---|
396 | #define C2_EUROPETERMINATOR 0x0005
|
---|
397 | #define C2_ARABICNUMBER 0x0006
|
---|
398 | #define C2_COMMONSEPARATOR 0x0007
|
---|
399 | #define C2_BLOCKSEPARATOR 0x0008
|
---|
400 | #define C2_SEGMENTSEPARATOR 0x0009
|
---|
401 | #define C2_WHITESPACE 0x000A
|
---|
402 | #define C2_OTHERNEUTRAL 0x000B
|
---|
403 | #define C2_NOTAPPLICABLE 0x0000
|
---|
404 |
|
---|
405 | /* Type 3 flags */
|
---|
406 | #define C3_NONSPACING 0x0001
|
---|
407 | #define C3_DIACRITIC 0x0002
|
---|
408 | #define C3_VOWELMARK 0x0004
|
---|
409 | #define C3_SYMBOL 0x0008
|
---|
410 | #define C3_KATAKANA 0x0010
|
---|
411 | #define C3_HIRAGANA 0x0020
|
---|
412 | #define C3_HALFWIDTH 0x0040
|
---|
413 | #define C3_FULLWIDTH 0x0080
|
---|
414 | #define C3_IDEOGRAPH 0x0100
|
---|
415 | #define C3_KASHIDA 0x0200
|
---|
416 | #define C3_LEXICAL 0x0400
|
---|
417 | #define C3_ALPHA 0x8000
|
---|
418 | #define C3_NOTAPPLICABLE 0x0000
|
---|
419 |
|
---|
420 | /* Code page information.
|
---|
421 | */
|
---|
422 | #define MAX_LEADBYTES 12
|
---|
423 | #define MAX_DEFAULTCHAR 2
|
---|
424 |
|
---|
425 | /* Defines for calendar handling */
|
---|
426 | #define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE
|
---|
427 | #define CAL_USE_CP_ACP LOCALE_USE_CP_ACP
|
---|
428 | #define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER
|
---|
429 |
|
---|
430 | #define CAL_ICALINTVALUE 0x01
|
---|
431 | #define CAL_SCALNAME 0x02
|
---|
432 | #define CAL_IYEAROFFSETRANGE 0x03
|
---|
433 | #define CAL_SERASTRING 0x04
|
---|
434 | #define CAL_SSHORTDATE 0x05
|
---|
435 | #define CAL_SLONGDATE 0x06
|
---|
436 | #define CAL_SDAYNAME1 0x07
|
---|
437 | #define CAL_SDAYNAME2 0x08
|
---|
438 | #define CAL_SDAYNAME3 0x09
|
---|
439 | #define CAL_SDAYNAME4 0x0a
|
---|
440 | #define CAL_SDAYNAME5 0x0b
|
---|
441 | #define CAL_SDAYNAME6 0x0c
|
---|
442 | #define CAL_SDAYNAME7 0x0d
|
---|
443 | #define CAL_SABBREVDAYNAME1 0x0e
|
---|
444 | #define CAL_SABBREVDAYNAME2 0x0f
|
---|
445 | #define CAL_SABBREVDAYNAME3 0x10
|
---|
446 | #define CAL_SABBREVDAYNAME4 0x11
|
---|
447 | #define CAL_SABBREVDAYNAME5 0x12
|
---|
448 | #define CAL_SABBREVDAYNAME6 0x13
|
---|
449 | #define CAL_SABBREVDAYNAME7 0x14
|
---|
450 | #define CAL_SMONTHNAME1 0x15
|
---|
451 | #define CAL_SMONTHNAME2 0x16
|
---|
452 | #define CAL_SMONTHNAME3 0x17
|
---|
453 | #define CAL_SMONTHNAME4 0x18
|
---|
454 | #define CAL_SMONTHNAME5 0x19
|
---|
455 | #define CAL_SMONTHNAME6 0x1a
|
---|
456 | #define CAL_SMONTHNAME7 0x1b
|
---|
457 | #define CAL_SMONTHNAME8 0x1c
|
---|
458 | #define CAL_SMONTHNAME9 0x1d
|
---|
459 | #define CAL_SMONTHNAME10 0x1e
|
---|
460 | #define CAL_SMONTHNAME11 0x1f
|
---|
461 | #define CAL_SMONTHNAME12 0x20
|
---|
462 | #define CAL_SMONTHNAME13 0x21
|
---|
463 | #define CAL_SABBREVMONTHNAME1 0x22
|
---|
464 | #define CAL_SABBREVMONTHNAME2 0x23
|
---|
465 | #define CAL_SABBREVMONTHNAME3 0x24
|
---|
466 | #define CAL_SABBREVMONTHNAME4 0x25
|
---|
467 | #define CAL_SABBREVMONTHNAME5 0x26
|
---|
468 | #define CAL_SABBREVMONTHNAME6 0x27
|
---|
469 | #define CAL_SABBREVMONTHNAME7 0x28
|
---|
470 | #define CAL_SABBREVMONTHNAME8 0x29
|
---|
471 | #define CAL_SABBREVMONTHNAME9 0x2a
|
---|
472 | #define CAL_SABBREVMONTHNAME10 0x2b
|
---|
473 | #define CAL_SABBREVMONTHNAME11 0x2c
|
---|
474 | #define CAL_SABBREVMONTHNAME12 0x2d
|
---|
475 | #define CAL_SABBREVMONTHNAME13 0x2e
|
---|
476 | #define CAL_SYEARMONTH 0x2f
|
---|
477 | #define CAL_ITWODIGITYEARMAX 0x30
|
---|
478 |
|
---|
479 | /* Calendar types */
|
---|
480 | #define CAL_GREGORIAN 1
|
---|
481 | #define CAL_GREGORIAN_US 2
|
---|
482 | #define CAL_JAPAN 3
|
---|
483 | #define CAL_TAIWAN 4
|
---|
484 | #define CAL_KOREA 5
|
---|
485 | #define CAL_HIJRI 6
|
---|
486 | #define CAL_THAI 7
|
---|
487 | #define CAL_HEBREW 8
|
---|
488 | #define CAL_GREGORIAN_ME_FRENCH 9
|
---|
489 | #define CAL_GREGORIAN_ARABIC 10
|
---|
490 | #define CAL_GREGORIAN_XLIT_ENGLISH 11
|
---|
491 | #define CAL_GREGORIAN_XLIT_FRENCH 12
|
---|
492 |
|
---|
493 | /* EnumCalendarInfo Flags */
|
---|
494 | #define ENUM_ALL_CALENDARS 0xffffffff /* Enumerate all calendars within a locale */
|
---|
495 |
|
---|
496 | /* CompareString results */
|
---|
497 | #define CSTR_LESS_THAN 1
|
---|
498 | #define CSTR_EQUAL 2
|
---|
499 | #define CSTR_GREATER_THAN 3
|
---|
500 |
|
---|
501 | /*
|
---|
502 | * Language Group IDs.
|
---|
503 | * Resources in kernel32 are LGRPID_xxx+0x2000 because low values were used by LOCALE_xxx
|
---|
504 | * This is done because resources in win2k kernel32 / winxp kernel32 are not even
|
---|
505 | * stored the same way.
|
---|
506 | */
|
---|
507 | #define LGRPID_WESTERN_EUROPE 0x01 /* Includes US and Africa */
|
---|
508 | #define LGRPID_CENTRAL_EUROPE 0x02
|
---|
509 | #define LGRPID_BALTIC 0x03
|
---|
510 | #define LGRPID_GREEK 0x04
|
---|
511 | #define LGRPID_CYRILLIC 0x05
|
---|
512 | #define LGRPID_TURKISH 0x06
|
---|
513 | #define LGRPID_JAPANESE 0x07
|
---|
514 | #define LGRPID_KOREAN 0x08
|
---|
515 | #define LGRPID_TRADITIONAL_CHINESE 0x09
|
---|
516 | #define LGRPID_SIMPLIFIED_CHINESE 0x0A
|
---|
517 | #define LGRPID_THAI 0x0B
|
---|
518 | #define LGRPID_HEBREW 0x0C
|
---|
519 | #define LGRPID_ARABIC 0x0D
|
---|
520 | #define LGRPID_VIETNAMESE 0x0E
|
---|
521 | #define LGRPID_INDIC 0x0F
|
---|
522 | #define LGRPID_GEORGIAN 0x10
|
---|
523 | #define LGRPID_ARMENIAN 0x11
|
---|
524 |
|
---|
525 | /* Types
|
---|
526 | */
|
---|
527 |
|
---|
528 | typedef DWORD CALID;
|
---|
529 | typedef DWORD CALTYPE;
|
---|
530 | typedef LONG GEOID;
|
---|
531 | typedef DWORD GEOCLASS;
|
---|
532 | typedef DWORD GEOTYPE;
|
---|
533 | typedef DWORD LCTYPE;
|
---|
534 | typedef DWORD LGRPID;
|
---|
535 |
|
---|
536 | typedef struct
|
---|
537 | {
|
---|
538 | UINT MaxCharSize;
|
---|
539 | BYTE DefaultChar[MAX_DEFAULTCHAR];
|
---|
540 | BYTE LeadByte[MAX_LEADBYTES];
|
---|
541 | } CPINFO, *LPCPINFO;
|
---|
542 |
|
---|
543 | typedef struct
|
---|
544 | {
|
---|
545 | UINT MaxCharSize;
|
---|
546 | BYTE DefaultChar[MAX_DEFAULTCHAR];
|
---|
547 | BYTE LeadByte[MAX_LEADBYTES];
|
---|
548 | WCHAR UnicodeDefaultChar;
|
---|
549 | UINT CodePage;
|
---|
550 | CHAR CodePageName[MAX_PATH];
|
---|
551 | } CPINFOEXA, *LPCPINFOEXA;
|
---|
552 |
|
---|
553 | typedef struct
|
---|
554 | {
|
---|
555 | UINT MaxCharSize;
|
---|
556 | BYTE DefaultChar[MAX_DEFAULTCHAR];
|
---|
557 | BYTE LeadByte[MAX_LEADBYTES];
|
---|
558 | WCHAR UnicodeDefaultChar;
|
---|
559 | UINT CodePage;
|
---|
560 | WCHAR CodePageName[MAX_PATH];
|
---|
561 | } CPINFOEXW, *LPCPINFOEXW;
|
---|
562 |
|
---|
563 | DECL_WINELIB_TYPE_AW(CPINFOEX)
|
---|
564 | DECL_WINELIB_TYPE_AW(LPCPINFOEX)
|
---|
565 |
|
---|
566 | typedef struct _numberfmtA {
|
---|
567 | UINT NumDigits;
|
---|
568 | UINT LeadingZero;
|
---|
569 | UINT Grouping;
|
---|
570 | LPSTR lpDecimalSep;
|
---|
571 | LPSTR lpThousandSep;
|
---|
572 | UINT NegativeOrder;
|
---|
573 | } NUMBERFMTA, *LPNUMBERFMTA;
|
---|
574 |
|
---|
575 | typedef struct _numberfmtW {
|
---|
576 | UINT NumDigits;
|
---|
577 | UINT LeadingZero;
|
---|
578 | UINT Grouping;
|
---|
579 | LPWSTR lpDecimalSep;
|
---|
580 | LPWSTR lpThousandSep;
|
---|
581 | UINT NegativeOrder;
|
---|
582 | } NUMBERFMTW, *LPNUMBERFMTW;
|
---|
583 |
|
---|
584 | DECL_WINELIB_TYPE_AW(NUMBERFMT)
|
---|
585 | DECL_WINELIB_TYPE_AW(LPNUMBERFMT)
|
---|
586 |
|
---|
587 | typedef struct _currencyfmtA
|
---|
588 | {
|
---|
589 | UINT NumDigits;
|
---|
590 | UINT LeadingZero;
|
---|
591 | UINT Grouping;
|
---|
592 | LPSTR lpDecimalSep;
|
---|
593 | LPSTR lpThousandSep;
|
---|
594 | UINT NegativeOrder;
|
---|
595 | UINT PositiveOrder;
|
---|
596 | LPSTR lpCurrencySymbol;
|
---|
597 | } CURRENCYFMTA, *LPCURRENCYFMTA;
|
---|
598 |
|
---|
599 | typedef struct _currencyfmtW
|
---|
600 | {
|
---|
601 | UINT NumDigits;
|
---|
602 | UINT LeadingZero;
|
---|
603 | UINT Grouping;
|
---|
604 | LPWSTR lpDecimalSep;
|
---|
605 | LPWSTR lpThousandSep;
|
---|
606 | UINT NegativeOrder;
|
---|
607 | UINT PositiveOrder;
|
---|
608 | LPWSTR lpCurrencySymbol;
|
---|
609 | } CURRENCYFMTW, *LPCURRENCYFMTW;
|
---|
610 |
|
---|
611 | DECL_WINELIB_TYPE_AW(CURRENCYFMT)
|
---|
612 | DECL_WINELIB_TYPE_AW(LPCURRENCYFMT)
|
---|
613 |
|
---|
614 |
|
---|
615 | /* Define a bunch of callback types */
|
---|
616 |
|
---|
617 | #if defined(STRICT)
|
---|
618 | typedef BOOL (CALLBACK *CALINFO_ENUMPROCA)(LPSTR);
|
---|
619 | typedef BOOL (CALLBACK *CALINFO_ENUMPROCW)(LPWSTR);
|
---|
620 | typedef BOOL (CALLBACK *CALINFO_ENUMPROCEXA)(LPSTR,CALID);
|
---|
621 | typedef BOOL (CALLBACK *CALINFO_ENUMPROCEXW)(LPWSTR,CALID);
|
---|
622 | typedef BOOL (CALLBACK *CODEPAGE_ENUMPROCA)(LPSTR);
|
---|
623 | typedef BOOL (CALLBACK *CODEPAGE_ENUMPROCW)(LPWSTR);
|
---|
624 | typedef BOOL (CALLBACK *DATEFMT_ENUMPROCA)(LPSTR);
|
---|
625 | typedef BOOL (CALLBACK *DATEFMT_ENUMPROCW)(LPWSTR);
|
---|
626 | typedef BOOL (CALLBACK *DATEFMT_ENUMPROCEXA)(LPSTR,CALID);
|
---|
627 | typedef BOOL (CALLBACK *DATEFMT_ENUMPROCEXW)(LPWSTR,CALID);
|
---|
628 | typedef BOOL (CALLBACK *GEO_ENUMPROC)(GEOID);
|
---|
629 | typedef BOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCA)(LGRPID,LCID,LPSTR,LONG_PTR);
|
---|
630 | typedef BOOL (CALLBACK *LANGGROUPLOCALE_ENUMPROCW)(LGRPID,LCID,LPWSTR,LONG_PTR);
|
---|
631 | typedef BOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCA)(LGRPID,LPSTR,LPSTR,DWORD,LONG_PTR);
|
---|
632 | typedef BOOL (CALLBACK *LANGUAGEGROUP_ENUMPROCW)(LGRPID,LPWSTR,LPWSTR,DWORD,LONG_PTR);
|
---|
633 | typedef BOOL (CALLBACK *LOCALE_ENUMPROCA)(LPSTR);
|
---|
634 | typedef BOOL (CALLBACK *LOCALE_ENUMPROCW)(LPWSTR);
|
---|
635 | typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCA)(LPSTR);
|
---|
636 | typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCW)(LPWSTR);
|
---|
637 | typedef BOOL (CALLBACK *UILANGUAGE_ENUMPROCA)(LPSTR,LONG_PTR);
|
---|
638 | typedef BOOL (CALLBACK *UILANGUAGE_ENUMPROCW)(LPWSTR,LONG_PTR);
|
---|
639 | #else
|
---|
640 | typedef FARPROC CALINFO_ENUMPROCA;
|
---|
641 | typedef FARPROC CALINFO_ENUMPROCW;
|
---|
642 | typedef FARPROC CALINFO_ENUMPROCEXA;
|
---|
643 | typedef FARPROC CALINFO_ENUMPROCEXW;
|
---|
644 | typedef FARPROC CODEPAGE_ENUMPROCA;
|
---|
645 | typedef FARPROC CODEPAGE_ENUMPROCW;
|
---|
646 | typedef FARPROC DATEFMT_ENUMPROCA;
|
---|
647 | typedef FARPROC DATEFMT_ENUMPROCW;
|
---|
648 | typedef FARPROC DATEFMT_ENUMPROCEXA;
|
---|
649 | typedef FARPROC DATEFMT_ENUMPROCEXW;
|
---|
650 | typedef FARPROC GEO_ENUMPROC;
|
---|
651 | typedef FARPROC LANGGROUPLOCALE_ENUMPROCA;
|
---|
652 | typedef FARPROC LANGGROUPLOCALE_ENUMPROCW;
|
---|
653 | typedef FARPROC LANGUAGEGROUP_ENUMPROCA;
|
---|
654 | typedef FARPROC LANGUAGEGROUP_ENUMPROCW;
|
---|
655 | typedef FARPROC LOCALE_ENUMPROCA;
|
---|
656 | typedef FARPROC LOCALE_ENUMPROCW;
|
---|
657 | typedef FARPROC TIMEFMT_ENUMPROCA;
|
---|
658 | typedef FARPROC TIMEFMT_ENUMPROCW;
|
---|
659 | typedef FARPROC UILANGUAGE_ENUMPROCA;
|
---|
660 | typedef FARPROC UILANGUAGE_ENUMPROCW;
|
---|
661 | #endif /* STRICT */
|
---|
662 |
|
---|
663 | DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROC)
|
---|
664 | DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROCEX)
|
---|
665 | DECL_WINELIB_TYPE_AW(CODEPAGE_ENUMPROC)
|
---|
666 | DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROC)
|
---|
667 | DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROCEX)
|
---|
668 | DECL_WINELIB_TYPE_AW(LANGGROUPLOCALE_ENUMPROC)
|
---|
669 | DECL_WINELIB_TYPE_AW(LANGUAGEGROUP_ENUMPROC)
|
---|
670 | DECL_WINELIB_TYPE_AW(LOCALE_ENUMPROC)
|
---|
671 | DECL_WINELIB_TYPE_AW(TIMEFMT_ENUMPROC)
|
---|
672 | DECL_WINELIB_TYPE_AW(UILANGUAGE_ENUMPROC)
|
---|
673 |
|
---|
674 | /* Geographic Information types */
|
---|
675 | enum SYSGEOTYPE
|
---|
676 | {
|
---|
677 | GEO_NATION = 1,
|
---|
678 | GEO_LATITUDE,
|
---|
679 | GEO_LONGITUDE,
|
---|
680 | GEO_ISO2,
|
---|
681 | GEO_ISO3,
|
---|
682 | GEO_RFC1766,
|
---|
683 | GEO_LCID,
|
---|
684 | GEO_FRIENDLYNAME,
|
---|
685 | GEO_OFFICIALNAME,
|
---|
686 | GEO_TIMEZONES,
|
---|
687 | GEO_OFFICIALLANGUAGES
|
---|
688 | };
|
---|
689 |
|
---|
690 | enum SYSGEOCLASS
|
---|
691 | {
|
---|
692 | GEOCLASS_REGION = 14,
|
---|
693 | GEOCLASS_NATION = 16
|
---|
694 | };
|
---|
695 |
|
---|
696 | #define GEOID_NOT_AVAILABLE (-1)
|
---|
697 |
|
---|
698 |
|
---|
699 | /* NLS Functions.
|
---|
700 | */
|
---|
701 |
|
---|
702 | WINBASEAPI INT WINAPI CompareStringA(LCID,DWORD,LPCSTR,INT,LPCSTR,INT);
|
---|
703 | WINBASEAPI INT WINAPI CompareStringW(LCID,DWORD,LPCWSTR,INT,LPCWSTR,INT);
|
---|
704 | #define CompareString WINELIB_NAME_AW(CompareString)
|
---|
705 | WINBASEAPI LCID WINAPI ConvertDefaultLocale(LCID);
|
---|
706 | WINBASEAPI BOOL WINAPI EnumCalendarInfoA(CALINFO_ENUMPROCA,LCID,CALID,CALTYPE);
|
---|
707 | WINBASEAPI BOOL WINAPI EnumCalendarInfoW(CALINFO_ENUMPROCW,LCID,CALID,CALTYPE);
|
---|
708 | #define EnumCalendarInfo WINELIB_NAME_AW(EnumCalendarInfo)
|
---|
709 | WINBASEAPI BOOL WINAPI EnumCalendarInfoExA(CALINFO_ENUMPROCEXA,LCID,CALID,CALTYPE);
|
---|
710 | WINBASEAPI BOOL WINAPI EnumCalendarInfoExW(CALINFO_ENUMPROCEXW,LCID,CALID,CALTYPE);
|
---|
711 | #define EnumCalendarInfoEx WINELIB_NAME_AW(EnumCalendarInfoEx)
|
---|
712 | WINBASEAPI BOOL WINAPI EnumDateFormatsA(DATEFMT_ENUMPROCA,LCID,DWORD);
|
---|
713 | WINBASEAPI BOOL WINAPI EnumDateFormatsW(DATEFMT_ENUMPROCW,LCID,DWORD);
|
---|
714 | #define EnumDateFormats WINELIB_NAME_AW(EnumDateFormats)
|
---|
715 | WINBASEAPI BOOL WINAPI EnumDateFormatsExA(DATEFMT_ENUMPROCEXA,LCID,DWORD);
|
---|
716 | WINBASEAPI BOOL WINAPI EnumDateFormatsExW(DATEFMT_ENUMPROCEXW,LCID,DWORD);
|
---|
717 | #define EnumDateFormatsEx WINELIB_NAME_AW(EnumDateFormatsEx)
|
---|
718 | WINBASEAPI BOOL WINAPI EnumSystemCodePagesA(CODEPAGE_ENUMPROCA,DWORD);
|
---|
719 | WINBASEAPI BOOL WINAPI EnumSystemCodePagesW(CODEPAGE_ENUMPROCW,DWORD);
|
---|
720 | #define EnumSystemCodePages WINELIB_NAME_AW(EnumSystemCodePages)
|
---|
721 | WINBASEAPI BOOL WINAPI EnumSystemGeoID(GEOCLASS,GEOID,GEO_ENUMPROC);
|
---|
722 | WINBASEAPI BOOL WINAPI EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD);
|
---|
723 | WINBASEAPI BOOL WINAPI EnumSystemLocalesW(LOCALE_ENUMPROCW,DWORD);
|
---|
724 | #define EnumSystemLocales WINELIB_NAME_AW(EnumSystemLocales)
|
---|
725 | WINBASEAPI BOOL WINAPI EnumSystemLanguageGroupsA(LANGUAGEGROUP_ENUMPROCA,DWORD,LONG_PTR);
|
---|
726 | WINBASEAPI BOOL WINAPI EnumSystemLanguageGroupsW(LANGUAGEGROUP_ENUMPROCW,DWORD,LONG_PTR);
|
---|
727 | #define EnumSystemLanguageGroups WINELIB_NAME_AW(EnumSystemLanguageGroups)
|
---|
728 | WINBASEAPI BOOL WINAPI EnumLanguageGroupLocalesA(LANGGROUPLOCALE_ENUMPROCA,LGRPID,DWORD,LONG_PTR);
|
---|
729 | WINBASEAPI BOOL WINAPI EnumLanguageGroupLocalesW(LANGGROUPLOCALE_ENUMPROCW,LGRPID,DWORD,LONG_PTR);
|
---|
730 | #define EnumLanguageGroupLocales WINELIB_NAME_AW(EnumLanguageGroupLocales)
|
---|
731 | WINBASEAPI BOOL WINAPI EnumTimeFormatsA(TIMEFMT_ENUMPROCA,LCID,DWORD);
|
---|
732 | WINBASEAPI BOOL WINAPI EnumTimeFormatsW(TIMEFMT_ENUMPROCW,LCID,DWORD);
|
---|
733 | #define EnumTimeFormats WINELIB_NAME_AW(EnumTimeFormats)
|
---|
734 | WINBASEAPI BOOL WINAPI EnumUILanguagesA(UILANGUAGE_ENUMPROCA,DWORD,LONG_PTR);
|
---|
735 | WINBASEAPI BOOL WINAPI EnumUILanguagesW(UILANGUAGE_ENUMPROCW,DWORD,LONG_PTR);
|
---|
736 | #define EnumUILanguages WINELIB_NAME_AW(EnumUILanguages)
|
---|
737 | WINBASEAPI INT WINAPI FoldStringA(DWORD,LPCSTR,INT,LPSTR,INT);
|
---|
738 | WINBASEAPI INT WINAPI FoldStringW(DWORD,LPCWSTR,INT,LPWSTR,INT);
|
---|
739 | #define FoldString WINELIB_NAME_AW(FoldString)
|
---|
740 | WINBASEAPI UINT WINAPI GetACP(void);
|
---|
741 | WINBASEAPI BOOL WINAPI GetCPInfo(UINT,LPCPINFO);
|
---|
742 | WINBASEAPI BOOL WINAPI GetCPInfoExA(UINT,DWORD,LPCPINFOEXA);
|
---|
743 | WINBASEAPI BOOL WINAPI GetCPInfoExW(UINT,DWORD,LPCPINFOEXW);
|
---|
744 | #define GetCPInfoEx WINELIB_NAME_AW(GetCPInfoEx)
|
---|
745 | WINBASEAPI INT WINAPI GetCalendarInfoA(LCID,DWORD,DWORD,LPSTR,INT,LPDWORD);
|
---|
746 | WINBASEAPI INT WINAPI GetCalendarInfoW(LCID,DWORD,DWORD,LPWSTR,INT,LPDWORD);
|
---|
747 | #define GetCalendarInfo WINELIB_NAME_AW(GetCalendarInfo)
|
---|
748 | WINBASEAPI INT WINAPI GetCurrencyFormatA(LCID,DWORD,LPCSTR,const CURRENCYFMTA*,LPSTR,INT);
|
---|
749 | WINBASEAPI INT WINAPI GetCurrencyFormatW(LCID,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,INT);
|
---|
750 | #define GetCurrencyFormat WINELIB_NAME_AW(GetCurrencyFormat)
|
---|
751 | WINBASEAPI INT WINAPI GetDateFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT);
|
---|
752 | WINBASEAPI INT WINAPI GetDateFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT);
|
---|
753 | #define GetDateFormat WINELIB_NAME_AW(GetDateFormat)
|
---|
754 | WINBASEAPI INT WINAPI GetGeoInfoA(GEOID,GEOTYPE,LPSTR,INT,LANGID);
|
---|
755 | WINBASEAPI INT WINAPI GetGeoInfoW(GEOID,GEOTYPE,LPWSTR,INT,LANGID);
|
---|
756 | #define GetGeoInfo WINELIB_NAME_AW(GetGeoInfo)
|
---|
757 | WINBASEAPI INT WINAPI GetLocaleInfoA(LCID,LCTYPE,LPSTR,INT);
|
---|
758 | WINBASEAPI INT WINAPI GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT);
|
---|
759 | #define GetLocaleInfo WINELIB_NAME_AW(GetLocaleInfo)
|
---|
760 | WINBASEAPI INT WINAPI GetNumberFormatA(LCID,DWORD,LPCSTR,const NUMBERFMTA*,LPSTR,INT);
|
---|
761 | WINBASEAPI INT WINAPI GetNumberFormatW(LCID,DWORD,LPCWSTR,const NUMBERFMTW*,LPWSTR,INT);
|
---|
762 | #define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat)
|
---|
763 | WINBASEAPI UINT WINAPI GetOEMCP(void);
|
---|
764 | WINBASEAPI BOOL WINAPI GetStringTypeA(LCID,DWORD,LPCSTR,INT,LPWORD);
|
---|
765 | WINBASEAPI BOOL WINAPI GetStringTypeW(DWORD,LPCWSTR,INT,LPWORD);
|
---|
766 | WINBASEAPI BOOL WINAPI GetStringTypeExA(LCID,DWORD,LPCSTR,INT,LPWORD);
|
---|
767 | WINBASEAPI BOOL WINAPI GetStringTypeExW(LCID,DWORD,LPCWSTR,INT,LPWORD);
|
---|
768 | #define GetStringTypeEx WINELIB_NAME_AW(GetStringTypeEx)
|
---|
769 | WINBASEAPI LANGID WINAPI GetSystemDefaultLangID(void);
|
---|
770 | WINBASEAPI LCID WINAPI GetSystemDefaultLCID(void);
|
---|
771 | WINBASEAPI LANGID WINAPI GetSystemDefaultUILanguage(void);
|
---|
772 | WINBASEAPI LCID WINAPI GetThreadLocale(void);
|
---|
773 | WINBASEAPI INT WINAPI GetTimeFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT);
|
---|
774 | WINBASEAPI INT WINAPI GetTimeFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT);
|
---|
775 | #define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat)
|
---|
776 | WINBASEAPI LANGID WINAPI GetUserDefaultLangID(void);
|
---|
777 | WINBASEAPI LCID WINAPI GetUserDefaultLCID(void);
|
---|
778 | WINBASEAPI LANGID WINAPI GetUserDefaultUILanguage(void);
|
---|
779 | WINBASEAPI GEOID WINAPI GetUserGeoID(GEOCLASS);
|
---|
780 | WINBASEAPI BOOL WINAPI IsDBCSLeadByte(BYTE);
|
---|
781 | WINBASEAPI BOOL WINAPI IsDBCSLeadByteEx(UINT,BYTE);
|
---|
782 | WINBASEAPI BOOL WINAPI IsValidCodePage(UINT);
|
---|
783 | WINBASEAPI BOOL WINAPI IsValidLocale(LCID,DWORD);
|
---|
784 | WINBASEAPI BOOL WINAPI IsValidLanguageGroup(LGRPID,DWORD);
|
---|
785 | WINBASEAPI INT WINAPI LCIDToLocaleName(LCID,LPWSTR,INT,DWORD);
|
---|
786 | WINBASEAPI INT WINAPI LCMapStringA(LCID,DWORD,LPCSTR,INT,LPSTR,INT);
|
---|
787 | WINBASEAPI INT WINAPI LCMapStringW(LCID,DWORD,LPCWSTR,INT,LPWSTR,INT);
|
---|
788 | #define LCMapString WINELIB_NAME_AW(LCMapString)
|
---|
789 | WINBASEAPI LCID WINAPI LocaleNameToLCID(LPCWSTR,DWORD);
|
---|
790 | WINBASEAPI INT WINAPI MultiByteToWideChar(UINT,DWORD,LPCSTR,INT,LPWSTR,INT);
|
---|
791 | WINBASEAPI INT WINAPI SetCalendarInfoA(LCID,CALID,CALTYPE,LPCSTR);
|
---|
792 | WINBASEAPI INT WINAPI SetCalendarInfoW(LCID,CALID,CALTYPE,LPCWSTR);
|
---|
793 | #define SetCalendarInfo WINELIB_NAME_AW(SetCalendarInfo)
|
---|
794 | WINBASEAPI BOOL WINAPI SetLocaleInfoA(LCID,LCTYPE,LPCSTR);
|
---|
795 | WINBASEAPI BOOL WINAPI SetLocaleInfoW(LCID,LCTYPE,LPCWSTR);
|
---|
796 | #define SetLocaleInfo WINELIB_NAME_AW(SetLocaleInfo)
|
---|
797 | WINBASEAPI BOOL WINAPI SetThreadLocale(LCID);
|
---|
798 | WINBASEAPI BOOL WINAPI SetUserGeoID(GEOID);
|
---|
799 | WINBASEAPI INT WINAPI WideCharToMultiByte(UINT,DWORD,LPCWSTR,INT,LPSTR,INT,LPCSTR,LPBOOL);
|
---|
800 |
|
---|
801 | #ifdef __cplusplus
|
---|
802 | }
|
---|
803 | #endif
|
---|
804 |
|
---|
805 | #endif /* !NONLS */
|
---|
806 | #endif /* __WINE_WINNLS_H */
|
---|