VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/winnls.h@ 69505

Last change on this file since 69505 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

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

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette