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