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