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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_WINNLS_H
20 #define __WINE_WINNLS_H
30 #define MB_PRECOMPOSED 0x00000001
31 #define MB_COMPOSITE 0x00000002
32 #define MB_USEGLYPHCHARS 0x00000004
33 #define MB_ERR_INVALID_CHARS 0x00000008
35 #define LCID_INSTALLED 0x00000001
37 /* flags to GetLocaleInfo */
38 #define LOCALE_NOUSEROVERRIDE 0x80000000
39 #define LOCALE_USE_CP_ACP 0x40000000
40 #define LOCALE_RETURN_NUMBER 0x20000000
42 /* When adding new defines, don't forget to add an entry to the
43 * locale_name2id map in ole/ole2nls.c
45 #define LOCALE_ILANGUAGE 0x00000001
46 #define LOCALE_SLANGUAGE 0x00000002
47 #define LOCALE_SENGLANGUAGE 0x00001001
48 #define LOCALE_SABBREVLANGNAME 0x00000003
49 #define LOCALE_SNATIVELANGNAME 0x00000004
50 #define LOCALE_ICOUNTRY 0x00000005
51 #define LOCALE_SCOUNTRY 0x00000006
52 #define LOCALE_SENGCOUNTRY 0x00001002
53 #define LOCALE_SABBREVCTRYNAME 0x00000007
54 #define LOCALE_SNATIVECTRYNAME 0x00000008
55 #define LOCALE_IDEFAULTLANGUAGE 0x00000009
56 #define LOCALE_IDEFAULTCOUNTRY 0x0000000A
57 #define LOCALE_IDEFAULTCODEPAGE 0x0000000B
58 #define LOCALE_IDEFAULTANSICODEPAGE 0x00001004
59 #define LOCALE_IDEFAULTMACCODEPAGE 0x00001011
60 #define LOCALE_SLIST 0x0000000C
61 #define LOCALE_IMEASURE 0x0000000D
62 #define LOCALE_SDECIMAL 0x0000000E
63 #define LOCALE_STHOUSAND 0x0000000F
64 #define LOCALE_SGROUPING 0x00000010
65 #define LOCALE_IDIGITS 0x00000011
66 #define LOCALE_ILZERO 0x00000012
67 #define LOCALE_INEGNUMBER 0x00001010
68 #define LOCALE_SNATIVEDIGITS 0x00000013
69 #define LOCALE_SCURRENCY 0x00000014
70 #define LOCALE_SINTLSYMBOL 0x00000015
71 #define LOCALE_SMONDECIMALSEP 0x00000016
72 #define LOCALE_SMONTHOUSANDSEP 0x00000017
73 #define LOCALE_SMONGROUPING 0x00000018
74 #define LOCALE_ICURRDIGITS 0x00000019
75 #define LOCALE_IINTLCURRDIGITS 0x0000001A
76 #define LOCALE_ICURRENCY 0x0000001B
77 #define LOCALE_INEGCURR 0x0000001C
78 #define LOCALE_SDATE 0x0000001D
79 #define LOCALE_STIME 0x0000001E
80 #define LOCALE_SSHORTDATE 0x0000001F
81 #define LOCALE_SLONGDATE 0x00000020
82 #define LOCALE_STIMEFORMAT 0x00001003
83 #define LOCALE_IDATE 0x00000021
84 #define LOCALE_ILDATE 0x00000022
85 #define LOCALE_ITIME 0x00000023
86 #define LOCALE_ITIMEMARKPOSN 0x00001005
87 #define LOCALE_ICENTURY 0x00000024
88 #define LOCALE_ITLZERO 0x00000025
89 #define LOCALE_IDAYLZERO 0x00000026
90 #define LOCALE_IMONLZERO 0x00000027
91 #define LOCALE_S1159 0x00000028
92 #define LOCALE_S2359 0x00000029
93 #define LOCALE_ICALENDARTYPE 0x00001009
94 #define LOCALE_IOPTIONALCALENDAR 0x0000100B
95 #define LOCALE_IFIRSTDAYOFWEEK 0x0000100C
96 #define LOCALE_IFIRSTWEEKOFYEAR 0x0000100D
97 #define LOCALE_SDAYNAME1 0x0000002A
98 #define LOCALE_SDAYNAME2 0x0000002B
99 #define LOCALE_SDAYNAME3 0x0000002C
100 #define LOCALE_SDAYNAME4 0x0000002D
101 #define LOCALE_SDAYNAME5 0x0000002E
102 #define LOCALE_SDAYNAME6 0x0000002F
103 #define LOCALE_SDAYNAME7 0x00000030
104 #define LOCALE_SABBREVDAYNAME1 0x00000031
105 #define LOCALE_SABBREVDAYNAME2 0x00000032
106 #define LOCALE_SABBREVDAYNAME3 0x00000033
107 #define LOCALE_SABBREVDAYNAME4 0x00000034
108 #define LOCALE_SABBREVDAYNAME5 0x00000035
109 #define LOCALE_SABBREVDAYNAME6 0x00000036
110 #define LOCALE_SABBREVDAYNAME7 0x00000037
111 #define LOCALE_SMONTHNAME1 0x00000038
112 #define LOCALE_SMONTHNAME2 0x00000039
113 #define LOCALE_SMONTHNAME3 0x0000003A
114 #define LOCALE_SMONTHNAME4 0x0000003B
115 #define LOCALE_SMONTHNAME5 0x0000003C
116 #define LOCALE_SMONTHNAME6 0x0000003D
117 #define LOCALE_SMONTHNAME7 0x0000003E
118 #define LOCALE_SMONTHNAME8 0x0000003F
119 #define LOCALE_SMONTHNAME9 0x00000040
120 #define LOCALE_SMONTHNAME10 0x00000041
121 #define LOCALE_SMONTHNAME11 0x00000042
122 #define LOCALE_SMONTHNAME12 0x00000043
123 #define LOCALE_SMONTHNAME13 0x0000100E
124 #define LOCALE_SABBREVMONTHNAME1 0x00000044
125 #define LOCALE_SABBREVMONTHNAME2 0x00000045
126 #define LOCALE_SABBREVMONTHNAME3 0x00000046
127 #define LOCALE_SABBREVMONTHNAME4 0x00000047
128 #define LOCALE_SABBREVMONTHNAME5 0x00000048
129 #define LOCALE_SABBREVMONTHNAME6 0x00000049
130 #define LOCALE_SABBREVMONTHNAME7 0x0000004A
131 #define LOCALE_SABBREVMONTHNAME8 0x0000004B
132 #define LOCALE_SABBREVMONTHNAME9 0x0000004C
133 #define LOCALE_SABBREVMONTHNAME10 0x0000004D
134 #define LOCALE_SABBREVMONTHNAME11 0x0000004E
135 #define LOCALE_SABBREVMONTHNAME12 0x0000004F
136 #define LOCALE_SABBREVMONTHNAME13 0x0000100F
137 #define LOCALE_SPOSITIVESIGN 0x00000050
138 #define LOCALE_SNEGATIVESIGN 0x00000051
139 #define LOCALE_IPOSSIGNPOSN 0x00000052
140 #define LOCALE_INEGSIGNPOSN 0x00000053
141 #define LOCALE_IPOSSYMPRECEDES 0x00000054
142 #define LOCALE_IPOSSEPBYSPACE 0x00000055
143 #define LOCALE_INEGSYMPRECEDES 0x00000056
144 #define LOCALE_INEGSEPBYSPACE 0x00000057
145 #define LOCALE_FONTSIGNATURE 0x00000058
146 #define LOCALE_SISO639LANGNAME 0x00000059
147 #define LOCALE_SISO3166CTRYNAME 0x0000005A
149 #define LOCALE_IDEFAULTEBCDICCODEPAGE 0x00001012
150 #define LOCALE_IPAPERSIZE 0x0000100A
151 #define LOCALE_SENGCURRNAME 0x00001007
152 #define LOCALE_SNATIVECURRNAME 0x00001008
153 #define LOCALE_SYEARMONTH 0x00001006
154 #define LOCALE_SSORTNAME 0x00001013
155 #define LOCALE_IDIGITSUBSTITUTION 0x00001014
157 #define NORM_IGNORECASE 1
158 #define NORM_IGNORENONSPACE 2
159 #define NORM_IGNORESYMBOLS 4
160 #define NORM_STRINGSORT 0x1000
161 #define NORM_IGNOREKANATYPE 0x00010000
162 #define NORM_IGNOREWIDTH 0x00020000
167 #define CP_THREAD_ACP 3
169 #define CP_UTF7 65000
170 #define CP_UTF8 65001
172 #define WC_DISCARDNS 0x00000010
173 #define WC_SEPCHARS 0x00000020
174 #define WC_DEFAULTCHAR 0x00000040
175 #define WC_COMPOSITECHECK 0x00000200
176 #define WC_NO_BEST_FIT_CHARS 0x00000400
179 /* Locale Dependent Mapping Flags */
180 #define LCMAP_LOWERCASE 0x00000100 /* lower case letters */
181 #define LCMAP_UPPERCASE 0x00000200 /* upper case letters */
182 #define LCMAP_SORTKEY 0x00000400 /* WC sort key (normalize) */
183 #define LCMAP_BYTEREV 0x00000800 /* byte reversal */
185 #define SORT_STRINGSORT 0x00001000 /* take punctuation into account */
187 #define LCMAP_HIRAGANA 0x00100000 /* map katakana to hiragana */
188 #define LCMAP_KATAKANA 0x00200000 /* map hiragana to katakana */
189 #define LCMAP_HALFWIDTH 0x00400000 /* map double byte to single byte */
190 #define LCMAP_FULLWIDTH 0x00800000 /* map single byte to double byte */
192 /* Date Flags for GetDateFormat. */
194 #define DATE_SHORTDATE 0x00000001 /* use short date picture */
195 #define DATE_LONGDATE 0x00000002 /* use long date picture */
196 #define DATE_USE_ALT_CALENDAR 0x00000004 /* use alternate calendar */
197 /* alt. calendar support is broken anyway */
199 #define TIME_FORCE24HOURFORMAT 0x00000008 /* force 24 hour format*/
200 #define TIME_NOTIMEMARKER 0x00000004 /* show no AM/PM */
201 #define TIME_NOSECONDS 0x00000002 /* show no seconds */
202 #define TIME_NOMINUTESORSECONDS 0x0000001 /* show no minutes either */
204 /* internal flags for GetDateFormat system */
205 #define DATE_DATEVARSONLY 0x00000100 /* only date stuff: yMdg */
206 #define TIME_TIMEVARSONLY 0x00000200 /* only time stuff: hHmst */
207 /* use this in a Winelib program if you really want all types */
208 #define LOCALE_TIMEDATEBOTH 0x00000300 /* full set */
210 /* Tests that we currently implement */
211 #define ITU_IMPLEMENTED_TESTS \
212 IS_TEXT_UNICODE_SIGNATURE| \
213 IS_TEXT_UNICODE_ODD_LENGTH
216 /* Character Type Flags */
217 #define CT_CTYPE1 0x00000001 /* usual ctype */
218 #define CT_CTYPE2 0x00000002 /* bidirectional layout info */
219 #define CT_CTYPE3 0x00000004 /* textprocessing info */
221 /* CType 1 Flag Bits */
222 #define C1_UPPER 0x0001
223 #define C1_LOWER 0x0002
224 #define C1_DIGIT 0x0004
225 #define C1_SPACE 0x0008
226 #define C1_PUNCT 0x0010
227 #define C1_CNTRL 0x0020
228 #define C1_BLANK 0x0040
229 #define C1_XDIGIT 0x0080
230 #define C1_ALPHA 0x0100
232 /* CType 2 Flag Bits */
233 #define C2_LEFTTORIGHT 0x0001
234 #define C2_RIGHTTOLEFT 0x0002
235 #define C2_EUROPENUMBER 0x0003
236 #define C2_EUROPESEPARATOR 0x0004
237 #define C2_EUROPETERMINATOR 0x0005
238 #define C2_ARABICNUMBER 0x0006
239 #define C2_COMMONSEPARATOR 0x0007
240 #define C2_BLOCKSEPARATOR 0x0008
241 #define C2_SEGMENTSEPARATOR 0x0009
242 #define C2_WHITESPACE 0x000A
243 #define C2_OTHERNEUTRAL 0x000B
244 #define C2_NOTAPPLICABLE 0x0000
246 /* CType 3 Flag Bits */
247 #define C3_NONSPACING 0x0001
248 #define C3_DIACRITIC 0x0002
249 #define C3_VOWELMARK 0x0004
250 #define C3_SYMBOL 0x0008
251 #define C3_KATAKANA 0x0010
252 #define C3_HIRAGANA 0x0020
253 #define C3_HALFWIDTH 0x0040
254 #define C3_FULLWIDTH 0x0080
255 #define C3_IDEOGRAPH 0x0100
256 #define C3_KASHIDA 0x0200
257 #define C3_LEXICAL 0x0400
258 #define C3_ALPHA 0x8000
259 #define C3_NOTAPPLICABLE 0x0000
261 /* Code page information.
263 #define MAX_LEADBYTES 12
264 #define MAX_DEFAULTCHAR 2
266 /* Defines for calendar handling */
267 #define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE
268 #define CAL_USE_CP_ACP LOCALE_USE_CP_ACP
269 #define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER
270 #define CAL_ICALINTVALUE 0x00000001
271 #define CAL_SCALNAME 0x00000002
272 #define CAL_IYEAROFFSETRANGE 0x00000003
273 #define CAL_SERASTRING 0x00000004
274 #define CAL_SSHORTDATE 0x00000005
275 #define CAL_SLONGDATE 0x00000006
276 #define CAL_SDAYNAME1 0x00000007
277 #define CAL_SDAYNAME2 0x00000008
278 #define CAL_SDAYNAME3 0x00000009
279 #define CAL_SDAYNAME4 0x0000000a
280 #define CAL_SDAYNAME5 0x0000000b
281 #define CAL_SDAYNAME6 0x0000000c
282 #define CAL_SDAYNAME7 0x0000000d
283 #define CAL_SABBREVDAYNAME1 0x0000000e
284 #define CAL_SABBREVDAYNAME2 0x0000000f
285 #define CAL_SABBREVDAYNAME3 0x00000010
286 #define CAL_SABBREVDAYNAME4 0x00000011
287 #define CAL_SABBREVDAYNAME5 0x00000012
288 #define CAL_SABBREVDAYNAME6 0x00000013
289 #define CAL_SABBREVDAYNAME7 0x00000014
290 #define CAL_SMONTHNAME1 0x00000015
291 #define CAL_SMONTHNAME2 0x00000016
292 #define CAL_SMONTHNAME3 0x00000017
293 #define CAL_SMONTHNAME4 0x00000018
294 #define CAL_SMONTHNAME5 0x00000019
295 #define CAL_SMONTHNAME6 0x0000001a
296 #define CAL_SMONTHNAME7 0x0000001b
297 #define CAL_SMONTHNAME8 0x0000001c
298 #define CAL_SMONTHNAME9 0x0000001d
299 #define CAL_SMONTHNAME10 0x0000001e
300 #define CAL_SMONTHNAME11 0x0000001f
301 #define CAL_SMONTHNAME12 0x00000020
302 #define CAL_SMONTHNAME13 0x00000021
303 #define CAL_SABBREVMONTHNAME1 0x00000022
304 #define CAL_SABBREVMONTHNAME2 0x00000023
305 #define CAL_SABBREVMONTHNAME3 0x00000024
306 #define CAL_SABBREVMONTHNAME4 0x00000025
307 #define CAL_SABBREVMONTHNAME5 0x00000026
308 #define CAL_SABBREVMONTHNAME6 0x00000027
309 #define CAL_SABBREVMONTHNAME7 0x00000028
310 #define CAL_SABBREVMONTHNAME8 0x00000029
311 #define CAL_SABBREVMONTHNAME9 0x0000002a
312 #define CAL_SABBREVMONTHNAME10 0x0000002b
313 #define CAL_SABBREVMONTHNAME11 0x0000002c
314 #define CAL_SABBREVMONTHNAME12 0x0000002d
315 #define CAL_SABBREVMONTHNAME13 0x0000002e
316 #define CAL_SYEARMONTH 0x0000002f
317 #define CAL_ITWODIGITYEARMAX 0x00000030
318 #define CAL_GREGORIAN 1
319 #define CAL_GREGORIAN_US 2
326 #define CAL_GREGORIAN_ME_FRENCH 9
327 #define CAL_GREGORIAN_ARABIC 10
328 #define CAL_GREGORIAN_XLIT_ENGLISH 11
329 #define CAL_GREGORIAN_XLIT_FRENCH 12
334 typedef DWORD LCTYPE;
335 typedef DWORD CALTYPE;
341 BYTE DefaultChar[MAX_DEFAULTCHAR];
342 BYTE LeadByte[MAX_LEADBYTES];
348 BYTE DefaultChar[MAX_DEFAULTCHAR];
349 BYTE LeadByte[MAX_LEADBYTES];
350 WCHAR UnicodeDefaultChar;
352 CHAR CodePageName[MAX_PATH];
353 } CPINFOEXA, *LPCPINFOEXA;
358 BYTE DefaultChar[MAX_DEFAULTCHAR];
359 BYTE LeadByte[MAX_LEADBYTES];
360 WCHAR UnicodeDefaultChar;
362 WCHAR CodePageName[MAX_PATH];
363 } CPINFOEXW, *LPCPINFOEXW;
365 DECL_WINELIB_TYPE_AW(CPINFOEX)
366 DECL_WINELIB_TYPE_AW(LPCPINFOEX)
368 typedef struct _numberfmtA {
375 } NUMBERFMTA, *LPNUMBERFMTA;
377 typedef struct _numberfmtW {
382 LPWSTR lpThousandSep;
384 } NUMBERFMTW, *LPNUMBERFMTW;
386 DECL_WINELIB_TYPE_AW(NUMBERFMT)
387 DECL_WINELIB_TYPE_AW(LPNUMBERFMT)
389 typedef struct _currencyfmtA
398 LPSTR lpCurrencySymbol;
399 } CURRENCYFMTA, *LPCURRENCYFMTA;
401 typedef struct _currencyfmtW
407 LPWSTR lpThousandSep;
410 LPWSTR lpCurrencySymbol;
411 } CURRENCYFMTW, *LPCURRENCYFMTW;
413 DECL_WINELIB_TYPE_AW(CURRENCYFMT)
414 DECL_WINELIB_TYPE_AW(LPCURRENCYFMT)
417 /* Define a bunch of callback types */
419 #if defined(STRICT) || defined(__WINE__)
420 typedef BOOL (CALLBACK *CALINFO_ENUMPROCA)(LPSTR);
421 typedef BOOL (CALLBACK *CALINFO_ENUMPROCW)(LPWSTR);
422 typedef BOOL (CALLBACK *CALINFO_ENUMPROCEXA)(LPSTR,CALID);
423 typedef BOOL (CALLBACK *CALINFO_ENUMPROCEXW)(LPWSTR,CALID);
424 typedef BOOL (CALLBACK *CODEPAGE_ENUMPROCA)(LPSTR);
425 typedef BOOL (CALLBACK *CODEPAGE_ENUMPROCW)(LPWSTR);
426 typedef BOOL (CALLBACK *DATEFMT_ENUMPROCA)(LPSTR);
427 typedef BOOL (CALLBACK *DATEFMT_ENUMPROCW)(LPWSTR);
428 typedef BOOL (CALLBACK *DATEFMT_ENUMPROCEXA)(LPSTR,CALID);
429 typedef BOOL (CALLBACK *DATEFMT_ENUMPROCEXW)(LPWSTR,CALID);
430 typedef BOOL (CALLBACK *LOCALE_ENUMPROCA)(LPSTR);
431 typedef BOOL (CALLBACK *LOCALE_ENUMPROCW)(LPWSTR);
432 typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCA)(LPSTR);
433 typedef BOOL (CALLBACK *TIMEFMT_ENUMPROCW)(LPWSTR);
435 typedef FARPROC CALINFO_ENUMPROCA;
436 typedef FARPROC CALINFO_ENUMPROCW;
437 typedef FARPROC CALINFO_ENUMPROCEXA;
438 typedef FARPROC CALINFO_ENUMPROCEXW;
439 typedef FARPROC CODEPAGE_ENUMPROCA;
440 typedef FARPROC CODEPAGE_ENUMPROCW;
441 typedef FARPROC DATEFMT_ENUMPROCA;
442 typedef FARPROC DATEFMT_ENUMPROCW;
443 typedef FARPROC DATEFMT_ENUMPROCEXA;
444 typedef FARPROC DATEFMT_ENUMPROCEXW;
445 typedef FARPROC LOCALE_ENUMPROCA;
446 typedef FARPROC LOCALE_ENUMPROCW;
447 typedef FARPROC TIMEFMT_ENUMPROCA;
448 typedef FARPROC TIMEFMT_ENUMPROCW;
449 #endif /* STRICT || __WINE__ */
451 DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROC)
452 DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROCEX)
453 DECL_WINELIB_TYPE_AW(CODEPAGE_ENUMPROC)
454 DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROC)
455 DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROCEX)
456 DECL_WINELIB_TYPE_AW(LOCALE_ENUMPROC)
457 DECL_WINELIB_TYPE_AW(TIMEFMT_ENUMPROC)
463 int WINAPI CompareStringA(LCID,DWORD,LPCSTR,int,LPCSTR,int);
464 int WINAPI CompareStringW(LCID,DWORD,LPCWSTR,int,LPCWSTR,int);
465 #define CompareString WINELIB_NAME_AW(CompareString)
466 LCID WINAPI ConvertDefaultLocale(LCID);
467 BOOL WINAPI EnumCalendarInfoA(CALINFO_ENUMPROCA,LCID,CALID,CALTYPE);
468 BOOL WINAPI EnumCalendarInfoW(CALINFO_ENUMPROCW,LCID,CALID,CALTYPE);
469 #define EnumCalendarInfo WINELIB_NAME_AW(EnumCalendarInfo)
470 BOOL WINAPI EnumCalendarInfoExA(CALINFO_ENUMPROCEXA,LCID,CALID,CALTYPE);
471 BOOL WINAPI EnumCalendarInfoExW(CALINFO_ENUMPROCEXW,LCID,CALID,CALTYPE);
472 #define EnumCalendarInfoEx WINELIB_NAME_AW(EnumCalendarInfoEx)
473 BOOL WINAPI EnumDateFormatsA(DATEFMT_ENUMPROCA,LCID,DWORD);
474 BOOL WINAPI EnumDateFormatsW(DATEFMT_ENUMPROCW,LCID,DWORD);
475 #define EnumDateFormats WINELIB_NAME_AW(EnumDateFormats)
476 BOOL WINAPI EnumDateFormatsExA(DATEFMT_ENUMPROCEXA,LCID,DWORD);
477 BOOL WINAPI EnumDateFormatsExW(DATEFMT_ENUMPROCEXW,LCID,DWORD);
478 #define EnumDateFormatsEx WINELIB_NAME_AW(EnumDateFormatsEx)
479 BOOL WINAPI EnumSystemCodePagesA(CODEPAGE_ENUMPROCA,DWORD);
480 BOOL WINAPI EnumSystemCodePagesW(CODEPAGE_ENUMPROCW,DWORD);
481 #define EnumSystemCodePages WINELIB_NAME_AW(EnumSystemCodePages)
482 BOOL WINAPI EnumSystemLocalesA(LOCALE_ENUMPROCA,DWORD);
483 BOOL WINAPI EnumSystemLocalesW(LOCALE_ENUMPROCW,DWORD);
484 #define EnumSystemLocales WINELIB_NAME_AW(EnumSystemLocales)
485 BOOL WINAPI EnumTimeFormatsA(TIMEFMT_ENUMPROCA,LCID,DWORD);
486 BOOL WINAPI EnumTimeFormatsW(TIMEFMT_ENUMPROCW,LCID,DWORD);
487 #define EnumTimeFormats WINELIB_NAME_AW(EnumTimeFormats)
488 int WINAPI FoldStringA(DWORD,LPCSTR,int,LPSTR,int);
489 int WINAPI FoldStringW(DWORD,LPCWSTR,int,LPWSTR,int);
490 #define FoldString WINELIB_NAME_AW(FoldString)
491 UINT WINAPI GetACP(void);
492 BOOL WINAPI GetCPInfo(UINT,LPCPINFO);
493 BOOL WINAPI GetCPInfoExA(UINT,DWORD,LPCPINFOEXA);
494 BOOL WINAPI GetCPInfoExW(UINT,DWORD,LPCPINFOEXW);
495 #define GetCPInfoEx WINELIB_NAME_AW(GetCPInfoEx)
496 int WINAPI GetCalendarInfoA(LCID,DWORD,DWORD,LPSTR,INT,LPDWORD);
497 int WINAPI GetCalendarInfoW(LCID,DWORD,DWORD,LPWSTR,INT,LPDWORD);
498 #define GetCalendarInfo WINELIB_NAME_AW(GetCalendarInfo)
499 INT WINAPI GetCurrencyFormatA(LCID,DWORD,LPCSTR,const CURRENCYFMTA*,LPSTR,int);
500 INT WINAPI GetCurrencyFormatW(LCID,DWORD,LPCWSTR,const CURRENCYFMTW*,LPWSTR,int);
501 #define GetCurrencyFormat WINELIB_NAME_AW(GetCurrencyFormat)
502 INT WINAPI GetDateFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT);
503 INT WINAPI GetDateFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT);
504 #define GetDateFormat WINELIB_NAME_AW(GetDateFormat)
505 INT WINAPI GetLocaleInfoA(LCID,LCTYPE,LPSTR,INT);
506 INT WINAPI GetLocaleInfoW(LCID,LCTYPE,LPWSTR,INT);
507 #define GetLocaleInfo WINELIB_NAME_AW(GetLocaleInfo)
508 INT WINAPI GetNumberFormatA(LCID,DWORD,LPCSTR,const NUMBERFMTA*,LPSTR,int);
509 INT WINAPI GetNumberFormatW(LCID,DWORD,LPCWSTR,const NUMBERFMTW*,LPWSTR,int);
510 #define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat)
511 UINT WINAPI GetOEMCP(void);
512 BOOL WINAPI GetStringTypeA(LCID,DWORD,LPCSTR,INT,LPWORD);
513 BOOL WINAPI GetStringTypeW(DWORD,LPCWSTR,INT,LPWORD);
514 BOOL WINAPI GetStringTypeExA(LCID,DWORD,LPCSTR,INT,LPWORD);
515 BOOL WINAPI GetStringTypeExW(LCID,DWORD,LPCWSTR,INT,LPWORD);
516 #define GetStringTypeEx WINELIB_NAME_AW(GetStringTypeEx)
517 LANGID WINAPI GetSystemDefaultLangID(void);
518 LCID WINAPI GetSystemDefaultLCID(void);
519 LCID WINAPI GetThreadLocale(void);
520 INT WINAPI GetTimeFormatA(LCID,DWORD,const SYSTEMTIME*,LPCSTR,LPSTR,INT);
521 INT WINAPI GetTimeFormatW(LCID,DWORD,const SYSTEMTIME*,LPCWSTR,LPWSTR,INT);
522 #define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat)
523 LANGID WINAPI GetUserDefaultLangID(void);
524 LCID WINAPI GetUserDefaultLCID(void);
525 BOOL WINAPI IsDBCSLeadByte(BYTE);
526 BOOL WINAPI IsDBCSLeadByteEx(UINT,BYTE);
527 BOOL WINAPI IsValidCodePage(UINT);
528 BOOL WINAPI IsValidLocale(LCID,DWORD);
529 INT WINAPI LCMapStringA(LCID,DWORD,LPCSTR,INT,LPSTR,INT);
530 INT WINAPI LCMapStringW(LCID,DWORD,LPCWSTR,INT,LPWSTR,INT);
531 #define LCMapString WINELIB_NAME_AW(LCMapString)
532 INT WINAPI MultiByteToWideChar(UINT,DWORD,LPCSTR,INT,LPWSTR,INT);
533 BOOL WINAPI SetLocaleInfoA(LCID,LCTYPE,LPCSTR);
534 BOOL WINAPI SetLocaleInfoW(LCID,LCTYPE,LPCWSTR);
535 #define SetLocaleInfo WINELIB_NAME_AW(SetLocaleInfo)
536 BOOL WINAPI SetThreadLocale(LCID);
537 INT WINAPI WideCharToMultiByte(UINT,DWORD,LPCWSTR,INT,LPSTR,INT,LPCSTR,LPBOOL);
544 #endif /* __WINE_WINNLS_H */