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