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 DATE_YEARMONTH 0x00000008 /* use year/month */
200 #define DATE_LTRREADING 0x00000010 /* left to right reading order */
201 #define DATE_RTLREADING 0x00000020 /* right to left reading order */
203 #define TIME_FORCE24HOURFORMAT 0x00000008 /* force 24 hour format*/
204 #define TIME_NOTIMEMARKER 0x00000004 /* show no AM/PM */
205 #define TIME_NOSECONDS 0x00000002 /* show no seconds */
206 #define TIME_NOMINUTESORSECONDS 0x0000001 /* show no minutes either */
208 /* internal flags for GetDateFormat system */
209 #define DATE_DATEVARSONLY 0x00000100 /* only date stuff: yMdg */
210 #define TIME_TIMEVARSONLY 0x00000200 /* only time stuff: hHmst */
211 /* use this in a Winelib program if you really want all types */
212 #define LOCALE_TIMEDATEBOTH 0x00000300 /* full set */
214 /* Tests that we currently implement */
215 #define ITU_IMPLEMENTED_TESTS \
216 IS_TEXT_UNICODE_SIGNATURE| \
217 IS_TEXT_UNICODE_ODD_LENGTH
220 /* Character Type Flags */
221 #define CT_CTYPE1 0x00000001 /* usual ctype */
222 #define CT_CTYPE2 0x00000002 /* bidirectional layout info */
223 #define CT_CTYPE3 0x00000004 /* textprocessing info */
225 /* CType 1 Flag Bits */
226 #define C1_UPPER 0x0001
227 #define C1_LOWER 0x0002
228 #define C1_DIGIT 0x0004
229 #define C1_SPACE 0x0008
230 #define C1_PUNCT 0x0010
231 #define C1_CNTRL 0x0020
232 #define C1_BLANK 0x0040
233 #define C1_XDIGIT 0x0080
234 #define C1_ALPHA 0x0100
236 /* CType 2 Flag Bits */
237 #define C2_LEFTTORIGHT 0x0001
238 #define C2_RIGHTTOLEFT 0x0002
239 #define C2_EUROPENUMBER 0x0003
240 #define C2_EUROPESEPARATOR 0x0004
241 #define C2_EUROPETERMINATOR 0x0005
242 #define C2_ARABICNUMBER 0x0006
243 #define C2_COMMONSEPARATOR 0x0007
244 #define C2_BLOCKSEPARATOR 0x0008
245 #define C2_SEGMENTSEPARATOR 0x0009
246 #define C2_WHITESPACE 0x000A
247 #define C2_OTHERNEUTRAL 0x000B
248 #define C2_NOTAPPLICABLE 0x0000
250 /* CType 3 Flag Bits */
251 #define C3_NONSPACING 0x0001
252 #define C3_DIACRITIC 0x0002
253 #define C3_VOWELMARK 0x0004
254 #define C3_SYMBOL 0x0008
255 #define C3_KATAKANA 0x0010
256 #define C3_HIRAGANA 0x0020
257 #define C3_HALFWIDTH 0x0040
258 #define C3_FULLWIDTH 0x0080
259 #define C3_IDEOGRAPH 0x0100
260 #define C3_KASHIDA 0x0200
261 #define C3_LEXICAL 0x0400
262 #define C3_ALPHA 0x8000
263 #define C3_NOTAPPLICABLE 0x0000
265 /* Code page information.
267 #define MAX_LEADBYTES 12
268 #define MAX_DEFAULTCHAR 2
270 /* Defines for calendar handling */
271 #define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE
272 #define CAL_USE_CP_ACP LOCALE_USE_CP_ACP
273 #define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER
274 #define CAL_ICALINTVALUE 0x00000001
275 #define CAL_SCALNAME 0x00000002
276 #define CAL_IYEAROFFSETRANGE 0x00000003
277 #define CAL_SERASTRING 0x00000004
278 #define CAL_SSHORTDATE 0x00000005
279 #define CAL_SLONGDATE 0x00000006
280 #define CAL_SDAYNAME1 0x00000007
281 #define CAL_SDAYNAME2 0x00000008
282 #define CAL_SDAYNAME3 0x00000009
283 #define CAL_SDAYNAME4 0x0000000a
284 #define CAL_SDAYNAME5 0x0000000b
285 #define CAL_SDAYNAME6 0x0000000c
286 #define CAL_SDAYNAME7 0x0000000d
287 #define CAL_SABBREVDAYNAME1 0x0000000e
288 #define CAL_SABBREVDAYNAME2 0x0000000f
289 #define CAL_SABBREVDAYNAME3 0x00000010
290 #define CAL_SABBREVDAYNAME4 0x00000011
291 #define CAL_SABBREVDAYNAME5 0x00000012
292 #define CAL_SABBREVDAYNAME6 0x00000013
293 #define CAL_SABBREVDAYNAME7 0x00000014
294 #define CAL_SMONTHNAME1 0x00000015
295 #define CAL_SMONTHNAME2 0x00000016
296 #define CAL_SMONTHNAME3 0x00000017
297 #define CAL_SMONTHNAME4 0x00000018
298 #define CAL_SMONTHNAME5 0x00000019
299 #define CAL_SMONTHNAME6 0x0000001a
300 #define CAL_SMONTHNAME7 0x0000001b
301 #define CAL_SMONTHNAME8 0x0000001c
302 #define CAL_SMONTHNAME9 0x0000001d
303 #define CAL_SMONTHNAME10 0x0000001e
304 #define CAL_SMONTHNAME11 0x0000001f
305 #define CAL_SMONTHNAME12 0x00000020
306 #define CAL_SMONTHNAME13 0x00000021
307 #define CAL_SABBREVMONTHNAME1 0x00000022
308 #define CAL_SABBREVMONTHNAME2 0x00000023
309 #define CAL_SABBREVMONTHNAME3 0x00000024
310 #define CAL_SABBREVMONTHNAME4 0x00000025
311 #define CAL_SABBREVMONTHNAME5 0x00000026
312 #define CAL_SABBREVMONTHNAME6 0x00000027
313 #define CAL_SABBREVMONTHNAME7 0x00000028
314 #define CAL_SABBREVMONTHNAME8 0x00000029
315 #define CAL_SABBREVMONTHNAME9 0x0000002a
316 #define CAL_SABBREVMONTHNAME10 0x0000002b
317 #define CAL_SABBREVMONTHNAME11 0x0000002c
318 #define CAL_SABBREVMONTHNAME12 0x0000002d
319 #define CAL_SABBREVMONTHNAME13 0x0000002e
320 #define CAL_SYEARMONTH 0x0000002f
321 #define CAL_ITWODIGITYEARMAX 0x00000030
322 #define CAL_GREGORIAN 1
323 #define CAL_GREGORIAN_US 2
330 #define CAL_GREGORIAN_ME_FRENCH 9
331 #define CAL_GREGORIAN_ARABIC 10
332 #define CAL_GREGORIAN_XLIT_ENGLISH 11
333 #define CAL_GREGORIAN_XLIT_FRENCH 12
335 /* CompareString defines */
336 #define CSTR_LESS_THAN 1
338 #define CSTR_GREATER_THAN 3
343 typedef DWORD LGRPID
;
344 typedef DWORD LCTYPE
;
345 typedef DWORD CALTYPE
;
351 BYTE DefaultChar
[MAX_DEFAULTCHAR
];
352 BYTE LeadByte
[MAX_LEADBYTES
];
358 BYTE DefaultChar
[MAX_DEFAULTCHAR
];
359 BYTE LeadByte
[MAX_LEADBYTES
];
360 WCHAR UnicodeDefaultChar
;
362 CHAR CodePageName
[MAX_PATH
];
363 } CPINFOEXA
, *LPCPINFOEXA
;
368 BYTE DefaultChar
[MAX_DEFAULTCHAR
];
369 BYTE LeadByte
[MAX_LEADBYTES
];
370 WCHAR UnicodeDefaultChar
;
372 WCHAR CodePageName
[MAX_PATH
];
373 } CPINFOEXW
, *LPCPINFOEXW
;
375 DECL_WINELIB_TYPE_AW(CPINFOEX
)
376 DECL_WINELIB_TYPE_AW(LPCPINFOEX
)
378 typedef struct _numberfmtA
{
385 } NUMBERFMTA
, *LPNUMBERFMTA
;
387 typedef struct _numberfmtW
{
392 LPWSTR lpThousandSep
;
394 } NUMBERFMTW
, *LPNUMBERFMTW
;
396 DECL_WINELIB_TYPE_AW(NUMBERFMT
)
397 DECL_WINELIB_TYPE_AW(LPNUMBERFMT
)
399 typedef struct _currencyfmtA
408 LPSTR lpCurrencySymbol
;
409 } CURRENCYFMTA
, *LPCURRENCYFMTA
;
411 typedef struct _currencyfmtW
417 LPWSTR lpThousandSep
;
420 LPWSTR lpCurrencySymbol
;
421 } CURRENCYFMTW
, *LPCURRENCYFMTW
;
423 DECL_WINELIB_TYPE_AW(CURRENCYFMT
)
424 DECL_WINELIB_TYPE_AW(LPCURRENCYFMT
)
427 /* Define a bunch of callback types */
430 typedef BOOL (CALLBACK
*CALINFO_ENUMPROCA
)(LPSTR
);
431 typedef BOOL (CALLBACK
*CALINFO_ENUMPROCW
)(LPWSTR
);
432 typedef BOOL (CALLBACK
*CALINFO_ENUMPROCEXA
)(LPSTR
,CALID
);
433 typedef BOOL (CALLBACK
*CALINFO_ENUMPROCEXW
)(LPWSTR
,CALID
);
434 typedef BOOL (CALLBACK
*CODEPAGE_ENUMPROCA
)(LPSTR
);
435 typedef BOOL (CALLBACK
*CODEPAGE_ENUMPROCW
)(LPWSTR
);
436 typedef BOOL (CALLBACK
*DATEFMT_ENUMPROCA
)(LPSTR
);
437 typedef BOOL (CALLBACK
*DATEFMT_ENUMPROCW
)(LPWSTR
);
438 typedef BOOL (CALLBACK
*DATEFMT_ENUMPROCEXA
)(LPSTR
,CALID
);
439 typedef BOOL (CALLBACK
*DATEFMT_ENUMPROCEXW
)(LPWSTR
,CALID
);
440 typedef BOOL (CALLBACK
*LOCALE_ENUMPROCA
)(LPSTR
);
441 typedef BOOL (CALLBACK
*LOCALE_ENUMPROCW
)(LPWSTR
);
442 typedef BOOL (CALLBACK
*TIMEFMT_ENUMPROCA
)(LPSTR
);
443 typedef BOOL (CALLBACK
*TIMEFMT_ENUMPROCW
)(LPWSTR
);
444 typedef BOOL (CALLBACK
*LANGUAGEGROUP_ENUMPROCA
)(LGRPID
, LPSTR
, LPSTR
, DWORD
, LONG_PTR
);
445 typedef BOOL (CALLBACK
*LANGUAGEGROUP_ENUMPROCW
)(LGRPID
, LPWSTR
, LPWSTR
, DWORD
, LONG_PTR
);
447 typedef FARPROC CALINFO_ENUMPROCA
;
448 typedef FARPROC CALINFO_ENUMPROCW
;
449 typedef FARPROC CALINFO_ENUMPROCEXA
;
450 typedef FARPROC CALINFO_ENUMPROCEXW
;
451 typedef FARPROC CODEPAGE_ENUMPROCA
;
452 typedef FARPROC CODEPAGE_ENUMPROCW
;
453 typedef FARPROC DATEFMT_ENUMPROCA
;
454 typedef FARPROC DATEFMT_ENUMPROCW
;
455 typedef FARPROC DATEFMT_ENUMPROCEXA
;
456 typedef FARPROC DATEFMT_ENUMPROCEXW
;
457 typedef FARPROC LOCALE_ENUMPROCA
;
458 typedef FARPROC LOCALE_ENUMPROCW
;
459 typedef FARPROC TIMEFMT_ENUMPROCA
;
460 typedef FARPROC TIMEFMT_ENUMPROCW
;
461 typedef FARPROC LANGUAGEGROUP_ENUMPROCA
;
462 typedef FARPROC LANGUAGEGROUP_ENUMPROCW
;
465 DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROC
)
466 DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROCEX
)
467 DECL_WINELIB_TYPE_AW(CODEPAGE_ENUMPROC
)
468 DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROC
)
469 DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROCEX
)
470 DECL_WINELIB_TYPE_AW(LOCALE_ENUMPROC
)
471 DECL_WINELIB_TYPE_AW(TIMEFMT_ENUMPROC
)
477 int WINAPI
CompareStringA(LCID
,DWORD
,LPCSTR
,int,LPCSTR
,int);
478 int WINAPI
CompareStringW(LCID
,DWORD
,LPCWSTR
,int,LPCWSTR
,int);
479 #define CompareString WINELIB_NAME_AW(CompareString)
480 LCID WINAPI
ConvertDefaultLocale(LCID
);
481 BOOL WINAPI
EnumCalendarInfoA(CALINFO_ENUMPROCA
,LCID
,CALID
,CALTYPE
);
482 BOOL WINAPI
EnumCalendarInfoW(CALINFO_ENUMPROCW
,LCID
,CALID
,CALTYPE
);
483 #define EnumCalendarInfo WINELIB_NAME_AW(EnumCalendarInfo)
484 BOOL WINAPI
EnumCalendarInfoExA(CALINFO_ENUMPROCEXA
,LCID
,CALID
,CALTYPE
);
485 BOOL WINAPI
EnumCalendarInfoExW(CALINFO_ENUMPROCEXW
,LCID
,CALID
,CALTYPE
);
486 #define EnumCalendarInfoEx WINELIB_NAME_AW(EnumCalendarInfoEx)
487 BOOL WINAPI
EnumDateFormatsA(DATEFMT_ENUMPROCA
,LCID
,DWORD
);
488 BOOL WINAPI
EnumDateFormatsW(DATEFMT_ENUMPROCW
,LCID
,DWORD
);
489 #define EnumDateFormats WINELIB_NAME_AW(EnumDateFormats)
490 BOOL WINAPI
EnumDateFormatsExA(DATEFMT_ENUMPROCEXA
,LCID
,DWORD
);
491 BOOL WINAPI
EnumDateFormatsExW(DATEFMT_ENUMPROCEXW
,LCID
,DWORD
);
492 #define EnumDateFormatsEx WINELIB_NAME_AW(EnumDateFormatsEx)
493 BOOL WINAPI
EnumSystemCodePagesA(CODEPAGE_ENUMPROCA
,DWORD
);
494 BOOL WINAPI
EnumSystemCodePagesW(CODEPAGE_ENUMPROCW
,DWORD
);
495 #define EnumSystemCodePages WINELIB_NAME_AW(EnumSystemCodePages)
496 BOOL WINAPI
EnumSystemLocalesA(LOCALE_ENUMPROCA
,DWORD
);
497 BOOL WINAPI
EnumSystemLocalesW(LOCALE_ENUMPROCW
,DWORD
);
498 #define EnumSystemLocales WINELIB_NAME_AW(EnumSystemLocales)
499 BOOL WINAPI
EnumTimeFormatsA(TIMEFMT_ENUMPROCA
,LCID
,DWORD
);
500 BOOL WINAPI
EnumTimeFormatsW(TIMEFMT_ENUMPROCW
,LCID
,DWORD
);
501 #define EnumTimeFormats WINELIB_NAME_AW(EnumTimeFormats)
502 int WINAPI
FoldStringA(DWORD
,LPCSTR
,int,LPSTR
,int);
503 int WINAPI
FoldStringW(DWORD
,LPCWSTR
,int,LPWSTR
,int);
504 #define FoldString WINELIB_NAME_AW(FoldString)
505 UINT WINAPI
GetACP(void);
506 BOOL WINAPI
GetCPInfo(UINT
,LPCPINFO
);
507 BOOL WINAPI
GetCPInfoExA(UINT
,DWORD
,LPCPINFOEXA
);
508 BOOL WINAPI
GetCPInfoExW(UINT
,DWORD
,LPCPINFOEXW
);
509 #define GetCPInfoEx WINELIB_NAME_AW(GetCPInfoEx)
510 int WINAPI
GetCalendarInfoA(LCID
,DWORD
,DWORD
,LPSTR
,INT
,LPDWORD
);
511 int WINAPI
GetCalendarInfoW(LCID
,DWORD
,DWORD
,LPWSTR
,INT
,LPDWORD
);
512 #define GetCalendarInfo WINELIB_NAME_AW(GetCalendarInfo)
513 INT WINAPI
GetCurrencyFormatA(LCID
,DWORD
,LPCSTR
,const CURRENCYFMTA
*,LPSTR
,int);
514 INT WINAPI
GetCurrencyFormatW(LCID
,DWORD
,LPCWSTR
,const CURRENCYFMTW
*,LPWSTR
,int);
515 #define GetCurrencyFormat WINELIB_NAME_AW(GetCurrencyFormat)
516 INT WINAPI
GetDateFormatA(LCID
,DWORD
,const SYSTEMTIME
*,LPCSTR
,LPSTR
,INT
);
517 INT WINAPI
GetDateFormatW(LCID
,DWORD
,const SYSTEMTIME
*,LPCWSTR
,LPWSTR
,INT
);
518 #define GetDateFormat WINELIB_NAME_AW(GetDateFormat)
519 INT WINAPI
GetLocaleInfoA(LCID
,LCTYPE
,LPSTR
,INT
);
520 INT WINAPI
GetLocaleInfoW(LCID
,LCTYPE
,LPWSTR
,INT
);
521 #define GetLocaleInfo WINELIB_NAME_AW(GetLocaleInfo)
522 INT WINAPI
GetNumberFormatA(LCID
,DWORD
,LPCSTR
,const NUMBERFMTA
*,LPSTR
,int);
523 INT WINAPI
GetNumberFormatW(LCID
,DWORD
,LPCWSTR
,const NUMBERFMTW
*,LPWSTR
,int);
524 #define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat)
525 UINT WINAPI
GetOEMCP(void);
526 BOOL WINAPI
GetStringTypeA(LCID
,DWORD
,LPCSTR
,INT
,LPWORD
);
527 BOOL WINAPI
GetStringTypeW(DWORD
,LPCWSTR
,INT
,LPWORD
);
528 BOOL WINAPI
GetStringTypeExA(LCID
,DWORD
,LPCSTR
,INT
,LPWORD
);
529 BOOL WINAPI
GetStringTypeExW(LCID
,DWORD
,LPCWSTR
,INT
,LPWORD
);
530 #define GetStringTypeEx WINELIB_NAME_AW(GetStringTypeEx)
531 LANGID WINAPI
GetSystemDefaultLangID(void);
532 LCID WINAPI
GetSystemDefaultLCID(void);
533 LANGID WINAPI
GetSystemDefaultUILanguage(void);
534 LCID WINAPI
GetThreadLocale(void);
535 INT WINAPI
GetTimeFormatA(LCID
,DWORD
,const SYSTEMTIME
*,LPCSTR
,LPSTR
,INT
);
536 INT WINAPI
GetTimeFormatW(LCID
,DWORD
,const SYSTEMTIME
*,LPCWSTR
,LPWSTR
,INT
);
537 #define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat)
538 LANGID WINAPI
GetUserDefaultLangID(void);
539 LCID WINAPI
GetUserDefaultLCID(void);
540 LANGID WINAPI
GetUserDefaultUILanguage(void);
541 BOOL WINAPI
IsDBCSLeadByte(BYTE
);
542 BOOL WINAPI
IsDBCSLeadByteEx(UINT
,BYTE
);
543 BOOL WINAPI
IsValidCodePage(UINT
);
544 BOOL WINAPI
IsValidLocale(LCID
,DWORD
);
545 INT WINAPI
LCMapStringA(LCID
,DWORD
,LPCSTR
,INT
,LPSTR
,INT
);
546 INT WINAPI
LCMapStringW(LCID
,DWORD
,LPCWSTR
,INT
,LPWSTR
,INT
);
547 #define LCMapString WINELIB_NAME_AW(LCMapString)
548 INT WINAPI
MultiByteToWideChar(UINT
,DWORD
,LPCSTR
,INT
,LPWSTR
,INT
);
549 BOOL WINAPI
SetLocaleInfoA(LCID
,LCTYPE
,LPCSTR
);
550 BOOL WINAPI
SetLocaleInfoW(LCID
,LCTYPE
,LPCWSTR
);
551 #define SetLocaleInfo WINELIB_NAME_AW(SetLocaleInfo)
552 BOOL WINAPI
SetThreadLocale(LCID
);
553 INT WINAPI
WideCharToMultiByte(UINT
,DWORD
,LPCWSTR
,INT
,LPSTR
,INT
,LPCSTR
,LPBOOL
);
560 #endif /* __WINE_WINNLS_H */