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 LGRPID_INSTALLED 0x00000001
36 #define LGRPID_SUPPORTED 0x00000002
38 #define LCID_INSTALLED 0x00000001
39 #define LCID_SUPPORTED 0x00000002
40 #define LCID_ALTERNATE_SORTS 0x00000004
42 /* flags to GetLocaleInfo */
43 #define LOCALE_NOUSEROVERRIDE 0x80000000
44 #define LOCALE_USE_CP_ACP 0x40000000
45 #define LOCALE_RETURN_NUMBER 0x20000000
47 /* When adding new defines, don't forget to add an entry to the
48 * locale_name2id map in ole/ole2nls.c
50 #define LOCALE_ILANGUAGE 0x00000001
51 #define LOCALE_SLANGUAGE 0x00000002
52 #define LOCALE_SENGLANGUAGE 0x00001001
53 #define LOCALE_SABBREVLANGNAME 0x00000003
54 #define LOCALE_SNATIVELANGNAME 0x00000004
55 #define LOCALE_ICOUNTRY 0x00000005
56 #define LOCALE_SCOUNTRY 0x00000006
57 #define LOCALE_SENGCOUNTRY 0x00001002
58 #define LOCALE_SABBREVCTRYNAME 0x00000007
59 #define LOCALE_SNATIVECTRYNAME 0x00000008
60 #define LOCALE_IDEFAULTLANGUAGE 0x00000009
61 #define LOCALE_IDEFAULTCOUNTRY 0x0000000A
62 #define LOCALE_IDEFAULTCODEPAGE 0x0000000B
63 #define LOCALE_IDEFAULTANSICODEPAGE 0x00001004
64 #define LOCALE_IDEFAULTMACCODEPAGE 0x00001011
65 #define LOCALE_SLIST 0x0000000C
66 #define LOCALE_IMEASURE 0x0000000D
67 #define LOCALE_SDECIMAL 0x0000000E
68 #define LOCALE_STHOUSAND 0x0000000F
69 #define LOCALE_SGROUPING 0x00000010
70 #define LOCALE_IDIGITS 0x00000011
71 #define LOCALE_ILZERO 0x00000012
72 #define LOCALE_INEGNUMBER 0x00001010
73 #define LOCALE_SNATIVEDIGITS 0x00000013
74 #define LOCALE_SCURRENCY 0x00000014
75 #define LOCALE_SINTLSYMBOL 0x00000015
76 #define LOCALE_SMONDECIMALSEP 0x00000016
77 #define LOCALE_SMONTHOUSANDSEP 0x00000017
78 #define LOCALE_SMONGROUPING 0x00000018
79 #define LOCALE_ICURRDIGITS 0x00000019
80 #define LOCALE_IINTLCURRDIGITS 0x0000001A
81 #define LOCALE_ICURRENCY 0x0000001B
82 #define LOCALE_INEGCURR 0x0000001C
83 #define LOCALE_SDATE 0x0000001D
84 #define LOCALE_STIME 0x0000001E
85 #define LOCALE_SSHORTDATE 0x0000001F
86 #define LOCALE_SLONGDATE 0x00000020
87 #define LOCALE_STIMEFORMAT 0x00001003
88 #define LOCALE_IDATE 0x00000021
89 #define LOCALE_ILDATE 0x00000022
90 #define LOCALE_ITIME 0x00000023
91 #define LOCALE_ITIMEMARKPOSN 0x00001005
92 #define LOCALE_ICENTURY 0x00000024
93 #define LOCALE_ITLZERO 0x00000025
94 #define LOCALE_IDAYLZERO 0x00000026
95 #define LOCALE_IMONLZERO 0x00000027
96 #define LOCALE_S1159 0x00000028
97 #define LOCALE_S2359 0x00000029
98 #define LOCALE_ICALENDARTYPE 0x00001009
99 #define LOCALE_IOPTIONALCALENDAR 0x0000100B
100 #define LOCALE_IFIRSTDAYOFWEEK 0x0000100C
101 #define LOCALE_IFIRSTWEEKOFYEAR 0x0000100D
102 #define LOCALE_SDAYNAME1 0x0000002A
103 #define LOCALE_SDAYNAME2 0x0000002B
104 #define LOCALE_SDAYNAME3 0x0000002C
105 #define LOCALE_SDAYNAME4 0x0000002D
106 #define LOCALE_SDAYNAME5 0x0000002E
107 #define LOCALE_SDAYNAME6 0x0000002F
108 #define LOCALE_SDAYNAME7 0x00000030
109 #define LOCALE_SABBREVDAYNAME1 0x00000031
110 #define LOCALE_SABBREVDAYNAME2 0x00000032
111 #define LOCALE_SABBREVDAYNAME3 0x00000033
112 #define LOCALE_SABBREVDAYNAME4 0x00000034
113 #define LOCALE_SABBREVDAYNAME5 0x00000035
114 #define LOCALE_SABBREVDAYNAME6 0x00000036
115 #define LOCALE_SABBREVDAYNAME7 0x00000037
116 #define LOCALE_SMONTHNAME1 0x00000038
117 #define LOCALE_SMONTHNAME2 0x00000039
118 #define LOCALE_SMONTHNAME3 0x0000003A
119 #define LOCALE_SMONTHNAME4 0x0000003B
120 #define LOCALE_SMONTHNAME5 0x0000003C
121 #define LOCALE_SMONTHNAME6 0x0000003D
122 #define LOCALE_SMONTHNAME7 0x0000003E
123 #define LOCALE_SMONTHNAME8 0x0000003F
124 #define LOCALE_SMONTHNAME9 0x00000040
125 #define LOCALE_SMONTHNAME10 0x00000041
126 #define LOCALE_SMONTHNAME11 0x00000042
127 #define LOCALE_SMONTHNAME12 0x00000043
128 #define LOCALE_SMONTHNAME13 0x0000100E
129 #define LOCALE_SABBREVMONTHNAME1 0x00000044
130 #define LOCALE_SABBREVMONTHNAME2 0x00000045
131 #define LOCALE_SABBREVMONTHNAME3 0x00000046
132 #define LOCALE_SABBREVMONTHNAME4 0x00000047
133 #define LOCALE_SABBREVMONTHNAME5 0x00000048
134 #define LOCALE_SABBREVMONTHNAME6 0x00000049
135 #define LOCALE_SABBREVMONTHNAME7 0x0000004A
136 #define LOCALE_SABBREVMONTHNAME8 0x0000004B
137 #define LOCALE_SABBREVMONTHNAME9 0x0000004C
138 #define LOCALE_SABBREVMONTHNAME10 0x0000004D
139 #define LOCALE_SABBREVMONTHNAME11 0x0000004E
140 #define LOCALE_SABBREVMONTHNAME12 0x0000004F
141 #define LOCALE_SABBREVMONTHNAME13 0x0000100F
142 #define LOCALE_SPOSITIVESIGN 0x00000050
143 #define LOCALE_SNEGATIVESIGN 0x00000051
144 #define LOCALE_IPOSSIGNPOSN 0x00000052
145 #define LOCALE_INEGSIGNPOSN 0x00000053
146 #define LOCALE_IPOSSYMPRECEDES 0x00000054
147 #define LOCALE_IPOSSEPBYSPACE 0x00000055
148 #define LOCALE_INEGSYMPRECEDES 0x00000056
149 #define LOCALE_INEGSEPBYSPACE 0x00000057
150 #define LOCALE_FONTSIGNATURE 0x00000058
151 #define LOCALE_SISO639LANGNAME 0x00000059
152 #define LOCALE_SISO3166CTRYNAME 0x0000005A
154 #define LOCALE_IDEFAULTEBCDICCODEPAGE 0x00001012
155 #define LOCALE_IPAPERSIZE 0x0000100A
156 #define LOCALE_SENGCURRNAME 0x00001007
157 #define LOCALE_SNATIVECURRNAME 0x00001008
158 #define LOCALE_SYEARMONTH 0x00001006
159 #define LOCALE_SSORTNAME 0x00001013
160 #define LOCALE_IDIGITSUBSTITUTION 0x00001014
162 #define NORM_IGNORECASE 1
163 #define NORM_IGNORENONSPACE 2
164 #define NORM_IGNORESYMBOLS 4
165 #define NORM_STRINGSORT 0x1000
166 #define NORM_IGNOREKANATYPE 0x00010000
167 #define NORM_IGNOREWIDTH 0x00020000
172 #define CP_THREAD_ACP 3
174 #define CP_UTF7 65000
175 #define CP_UTF8 65001
177 #define WC_DISCARDNS 0x00000010
178 #define WC_SEPCHARS 0x00000020
179 #define WC_DEFAULTCHAR 0x00000040
180 #define WC_COMPOSITECHECK 0x00000200
181 #define WC_NO_BEST_FIT_CHARS 0x00000400
184 /* Locale Dependent Mapping Flags */
185 #define LCMAP_LOWERCASE 0x00000100 /* lower case letters */
186 #define LCMAP_UPPERCASE 0x00000200 /* upper case letters */
187 #define LCMAP_SORTKEY 0x00000400 /* WC sort key (normalize) */
188 #define LCMAP_BYTEREV 0x00000800 /* byte reversal */
190 #define SORT_STRINGSORT 0x00001000 /* take punctuation into account */
192 #define LCMAP_HIRAGANA 0x00100000 /* map katakana to hiragana */
193 #define LCMAP_KATAKANA 0x00200000 /* map hiragana to katakana */
194 #define LCMAP_HALFWIDTH 0x00400000 /* map double byte to single byte */
195 #define LCMAP_FULLWIDTH 0x00800000 /* map single byte to double byte */
197 /* Date Flags for GetDateFormat. */
199 #define DATE_SHORTDATE 0x00000001 /* use short date picture */
200 #define DATE_LONGDATE 0x00000002 /* use long date picture */
201 #define DATE_USE_ALT_CALENDAR 0x00000004 /* use alternate calendar */
202 /* alt. calendar support is broken anyway */
204 #define DATE_YEARMONTH 0x00000008 /* use year/month */
205 #define DATE_LTRREADING 0x00000010 /* left to right reading order */
206 #define DATE_RTLREADING 0x00000020 /* right to left reading order */
208 #define TIME_FORCE24HOURFORMAT 0x00000008 /* force 24 hour format*/
209 #define TIME_NOTIMEMARKER 0x00000004 /* show no AM/PM */
210 #define TIME_NOSECONDS 0x00000002 /* show no seconds */
211 #define TIME_NOMINUTESORSECONDS 0x0000001 /* show no minutes either */
213 /* internal flags for GetDateFormat system */
214 #define DATE_DATEVARSONLY 0x00000100 /* only date stuff: yMdg */
215 #define TIME_TIMEVARSONLY 0x00000200 /* only time stuff: hHmst */
216 /* use this in a Winelib program if you really want all types */
217 #define LOCALE_TIMEDATEBOTH 0x00000300 /* full set */
219 /* Tests that we currently implement */
220 #define ITU_IMPLEMENTED_TESTS \
221 IS_TEXT_UNICODE_SIGNATURE| \
222 IS_TEXT_UNICODE_ODD_LENGTH
225 /* Character Type Flags */
226 #define CT_CTYPE1 0x00000001 /* usual ctype */
227 #define CT_CTYPE2 0x00000002 /* bidirectional layout info */
228 #define CT_CTYPE3 0x00000004 /* textprocessing info */
230 /* CType 1 Flag Bits */
231 #define C1_UPPER 0x0001
232 #define C1_LOWER 0x0002
233 #define C1_DIGIT 0x0004
234 #define C1_SPACE 0x0008
235 #define C1_PUNCT 0x0010
236 #define C1_CNTRL 0x0020
237 #define C1_BLANK 0x0040
238 #define C1_XDIGIT 0x0080
239 #define C1_ALPHA 0x0100
241 /* CType 2 Flag Bits */
242 #define C2_LEFTTORIGHT 0x0001
243 #define C2_RIGHTTOLEFT 0x0002
244 #define C2_EUROPENUMBER 0x0003
245 #define C2_EUROPESEPARATOR 0x0004
246 #define C2_EUROPETERMINATOR 0x0005
247 #define C2_ARABICNUMBER 0x0006
248 #define C2_COMMONSEPARATOR 0x0007
249 #define C2_BLOCKSEPARATOR 0x0008
250 #define C2_SEGMENTSEPARATOR 0x0009
251 #define C2_WHITESPACE 0x000A
252 #define C2_OTHERNEUTRAL 0x000B
253 #define C2_NOTAPPLICABLE 0x0000
255 /* CType 3 Flag Bits */
256 #define C3_NONSPACING 0x0001
257 #define C3_DIACRITIC 0x0002
258 #define C3_VOWELMARK 0x0004
259 #define C3_SYMBOL 0x0008
260 #define C3_KATAKANA 0x0010
261 #define C3_HIRAGANA 0x0020
262 #define C3_HALFWIDTH 0x0040
263 #define C3_FULLWIDTH 0x0080
264 #define C3_IDEOGRAPH 0x0100
265 #define C3_KASHIDA 0x0200
266 #define C3_LEXICAL 0x0400
267 #define C3_ALPHA 0x8000
268 #define C3_NOTAPPLICABLE 0x0000
270 /* Code page information.
272 #define MAX_LEADBYTES 12
273 #define MAX_DEFAULTCHAR 2
275 /* Defines for calendar handling */
276 #define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE
277 #define CAL_USE_CP_ACP LOCALE_USE_CP_ACP
278 #define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER
279 #define CAL_ICALINTVALUE 0x00000001
280 #define CAL_SCALNAME 0x00000002
281 #define CAL_IYEAROFFSETRANGE 0x00000003
282 #define CAL_SERASTRING 0x00000004
283 #define CAL_SSHORTDATE 0x00000005
284 #define CAL_SLONGDATE 0x00000006
285 #define CAL_SDAYNAME1 0x00000007
286 #define CAL_SDAYNAME2 0x00000008
287 #define CAL_SDAYNAME3 0x00000009
288 #define CAL_SDAYNAME4 0x0000000a
289 #define CAL_SDAYNAME5 0x0000000b
290 #define CAL_SDAYNAME6 0x0000000c
291 #define CAL_SDAYNAME7 0x0000000d
292 #define CAL_SABBREVDAYNAME1 0x0000000e
293 #define CAL_SABBREVDAYNAME2 0x0000000f
294 #define CAL_SABBREVDAYNAME3 0x00000010
295 #define CAL_SABBREVDAYNAME4 0x00000011
296 #define CAL_SABBREVDAYNAME5 0x00000012
297 #define CAL_SABBREVDAYNAME6 0x00000013
298 #define CAL_SABBREVDAYNAME7 0x00000014
299 #define CAL_SMONTHNAME1 0x00000015
300 #define CAL_SMONTHNAME2 0x00000016
301 #define CAL_SMONTHNAME3 0x00000017
302 #define CAL_SMONTHNAME4 0x00000018
303 #define CAL_SMONTHNAME5 0x00000019
304 #define CAL_SMONTHNAME6 0x0000001a
305 #define CAL_SMONTHNAME7 0x0000001b
306 #define CAL_SMONTHNAME8 0x0000001c
307 #define CAL_SMONTHNAME9 0x0000001d
308 #define CAL_SMONTHNAME10 0x0000001e
309 #define CAL_SMONTHNAME11 0x0000001f
310 #define CAL_SMONTHNAME12 0x00000020
311 #define CAL_SMONTHNAME13 0x00000021
312 #define CAL_SABBREVMONTHNAME1 0x00000022
313 #define CAL_SABBREVMONTHNAME2 0x00000023
314 #define CAL_SABBREVMONTHNAME3 0x00000024
315 #define CAL_SABBREVMONTHNAME4 0x00000025
316 #define CAL_SABBREVMONTHNAME5 0x00000026
317 #define CAL_SABBREVMONTHNAME6 0x00000027
318 #define CAL_SABBREVMONTHNAME7 0x00000028
319 #define CAL_SABBREVMONTHNAME8 0x00000029
320 #define CAL_SABBREVMONTHNAME9 0x0000002a
321 #define CAL_SABBREVMONTHNAME10 0x0000002b
322 #define CAL_SABBREVMONTHNAME11 0x0000002c
323 #define CAL_SABBREVMONTHNAME12 0x0000002d
324 #define CAL_SABBREVMONTHNAME13 0x0000002e
325 #define CAL_SYEARMONTH 0x0000002f
326 #define CAL_ITWODIGITYEARMAX 0x00000030
327 #define CAL_GREGORIAN 1
328 #define CAL_GREGORIAN_US 2
335 #define CAL_GREGORIAN_ME_FRENCH 9
336 #define CAL_GREGORIAN_ARABIC 10
337 #define CAL_GREGORIAN_XLIT_ENGLISH 11
338 #define CAL_GREGORIAN_XLIT_FRENCH 12
340 /* CompareString defines */
341 #define CSTR_LESS_THAN 1
343 #define CSTR_GREATER_THAN 3
346 * Language Group ID Values.
347 * Resources in kernel32 are LGRPID_xxx+0x2000 because low values were used by LOCALE_xxx
348 * This is done because resources in win2k kernel32 / winxp kernel32 are not even
349 * stored the same way.
351 #define LGRPID_WESTERN_EUROPE 0x0001 /* Western Europe & U.S. */
352 #define LGRPID_CENTRAL_EUROPE 0x0002 /* Central Europe */
353 #define LGRPID_BALTIC 0x0003 /* Baltic */
354 #define LGRPID_GREEK 0x0004 /* Greek */
355 #define LGRPID_CYRILLIC 0x0005 /* Cyrillic */
356 #define LGRPID_TURKISH 0x0006 /* Turkish */
357 #define LGRPID_JAPANESE 0x0007 /* Japanese */
358 #define LGRPID_KOREAN 0x0008 /* Korean */
359 #define LGRPID_TRADITIONAL_CHINESE 0x0009 /* Traditional Chinese */
360 #define LGRPID_SIMPLIFIED_CHINESE 0x000a /* Simplified Chinese */
361 #define LGRPID_THAI 0x000b /* Thai */
362 #define LGRPID_HEBREW 0x000c /* Hebrew */
363 #define LGRPID_ARABIC 0x000d /* Arabic */
364 #define LGRPID_VIETNAMESE 0x000e /* Vietnamese */
365 #define LGRPID_INDIC 0x000f /* Indic */
366 #define LGRPID_GEORGIAN 0x0010 /* Georgian */
367 #define LGRPID_ARMENIAN 0x0011 /* Armenian */
372 typedef DWORD LGRPID
;
373 typedef DWORD LCTYPE
;
374 typedef DWORD CALTYPE
;
380 BYTE DefaultChar
[MAX_DEFAULTCHAR
];
381 BYTE LeadByte
[MAX_LEADBYTES
];
387 BYTE DefaultChar
[MAX_DEFAULTCHAR
];
388 BYTE LeadByte
[MAX_LEADBYTES
];
389 WCHAR UnicodeDefaultChar
;
391 CHAR CodePageName
[MAX_PATH
];
392 } CPINFOEXA
, *LPCPINFOEXA
;
397 BYTE DefaultChar
[MAX_DEFAULTCHAR
];
398 BYTE LeadByte
[MAX_LEADBYTES
];
399 WCHAR UnicodeDefaultChar
;
401 WCHAR CodePageName
[MAX_PATH
];
402 } CPINFOEXW
, *LPCPINFOEXW
;
404 DECL_WINELIB_TYPE_AW(CPINFOEX
)
405 DECL_WINELIB_TYPE_AW(LPCPINFOEX
)
407 typedef struct _numberfmtA
{
414 } NUMBERFMTA
, *LPNUMBERFMTA
;
416 typedef struct _numberfmtW
{
421 LPWSTR lpThousandSep
;
423 } NUMBERFMTW
, *LPNUMBERFMTW
;
425 DECL_WINELIB_TYPE_AW(NUMBERFMT
)
426 DECL_WINELIB_TYPE_AW(LPNUMBERFMT
)
428 typedef struct _currencyfmtA
437 LPSTR lpCurrencySymbol
;
438 } CURRENCYFMTA
, *LPCURRENCYFMTA
;
440 typedef struct _currencyfmtW
446 LPWSTR lpThousandSep
;
449 LPWSTR lpCurrencySymbol
;
450 } CURRENCYFMTW
, *LPCURRENCYFMTW
;
452 DECL_WINELIB_TYPE_AW(CURRENCYFMT
)
453 DECL_WINELIB_TYPE_AW(LPCURRENCYFMT
)
456 /* Define a bunch of callback types */
459 typedef BOOL (CALLBACK
*CALINFO_ENUMPROCA
)(LPSTR
);
460 typedef BOOL (CALLBACK
*CALINFO_ENUMPROCW
)(LPWSTR
);
461 typedef BOOL (CALLBACK
*CALINFO_ENUMPROCEXA
)(LPSTR
,CALID
);
462 typedef BOOL (CALLBACK
*CALINFO_ENUMPROCEXW
)(LPWSTR
,CALID
);
463 typedef BOOL (CALLBACK
*CODEPAGE_ENUMPROCA
)(LPSTR
);
464 typedef BOOL (CALLBACK
*CODEPAGE_ENUMPROCW
)(LPWSTR
);
465 typedef BOOL (CALLBACK
*DATEFMT_ENUMPROCA
)(LPSTR
);
466 typedef BOOL (CALLBACK
*DATEFMT_ENUMPROCW
)(LPWSTR
);
467 typedef BOOL (CALLBACK
*DATEFMT_ENUMPROCEXA
)(LPSTR
,CALID
);
468 typedef BOOL (CALLBACK
*DATEFMT_ENUMPROCEXW
)(LPWSTR
,CALID
);
469 typedef BOOL (CALLBACK
*LOCALE_ENUMPROCA
)(LPSTR
);
470 typedef BOOL (CALLBACK
*LOCALE_ENUMPROCW
)(LPWSTR
);
471 typedef BOOL (CALLBACK
*TIMEFMT_ENUMPROCA
)(LPSTR
);
472 typedef BOOL (CALLBACK
*TIMEFMT_ENUMPROCW
)(LPWSTR
);
473 typedef BOOL (CALLBACK
*LANGUAGEGROUP_ENUMPROCA
)(LGRPID
, LPSTR
, LPSTR
, DWORD
, LONG_PTR
);
474 typedef BOOL (CALLBACK
*LANGUAGEGROUP_ENUMPROCW
)(LGRPID
, LPWSTR
, LPWSTR
, DWORD
, LONG_PTR
);
475 typedef BOOL (CALLBACK
*LANGGROUPLOCALE_ENUMPROCA
)(LGRPID
, LCID
, LPSTR
, LONG_PTR
);
476 typedef BOOL (CALLBACK
*LANGGROUPLOCALE_ENUMPROCW
)(LGRPID
, LCID
, LPWSTR
, LONG_PTR
);
478 typedef FARPROC CALINFO_ENUMPROCA
;
479 typedef FARPROC CALINFO_ENUMPROCW
;
480 typedef FARPROC CALINFO_ENUMPROCEXA
;
481 typedef FARPROC CALINFO_ENUMPROCEXW
;
482 typedef FARPROC CODEPAGE_ENUMPROCA
;
483 typedef FARPROC CODEPAGE_ENUMPROCW
;
484 typedef FARPROC DATEFMT_ENUMPROCA
;
485 typedef FARPROC DATEFMT_ENUMPROCW
;
486 typedef FARPROC DATEFMT_ENUMPROCEXA
;
487 typedef FARPROC DATEFMT_ENUMPROCEXW
;
488 typedef FARPROC LOCALE_ENUMPROCA
;
489 typedef FARPROC LOCALE_ENUMPROCW
;
490 typedef FARPROC TIMEFMT_ENUMPROCA
;
491 typedef FARPROC TIMEFMT_ENUMPROCW
;
492 typedef FARPROC LANGUAGEGROUP_ENUMPROCA
;
493 typedef FARPROC LANGUAGEGROUP_ENUMPROCW
;
494 typedef FARPROC LANGGROUPLOCALE_ENUMPROCA
;
495 typedef FARPROC LANGGROUPLOCALE_ENUMPROCW
;
498 DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROC
)
499 DECL_WINELIB_TYPE_AW(CALINFO_ENUMPROCEX
)
500 DECL_WINELIB_TYPE_AW(CODEPAGE_ENUMPROC
)
501 DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROC
)
502 DECL_WINELIB_TYPE_AW(DATEFMT_ENUMPROCEX
)
503 DECL_WINELIB_TYPE_AW(LOCALE_ENUMPROC
)
504 DECL_WINELIB_TYPE_AW(TIMEFMT_ENUMPROC
)
510 int WINAPI
CompareStringA(LCID
,DWORD
,LPCSTR
,int,LPCSTR
,int);
511 int WINAPI
CompareStringW(LCID
,DWORD
,LPCWSTR
,int,LPCWSTR
,int);
512 #define CompareString WINELIB_NAME_AW(CompareString)
513 LCID WINAPI
ConvertDefaultLocale(LCID
);
514 BOOL WINAPI
EnumCalendarInfoA(CALINFO_ENUMPROCA
,LCID
,CALID
,CALTYPE
);
515 BOOL WINAPI
EnumCalendarInfoW(CALINFO_ENUMPROCW
,LCID
,CALID
,CALTYPE
);
516 #define EnumCalendarInfo WINELIB_NAME_AW(EnumCalendarInfo)
517 BOOL WINAPI
EnumCalendarInfoExA(CALINFO_ENUMPROCEXA
,LCID
,CALID
,CALTYPE
);
518 BOOL WINAPI
EnumCalendarInfoExW(CALINFO_ENUMPROCEXW
,LCID
,CALID
,CALTYPE
);
519 #define EnumCalendarInfoEx WINELIB_NAME_AW(EnumCalendarInfoEx)
520 BOOL WINAPI
EnumDateFormatsA(DATEFMT_ENUMPROCA
,LCID
,DWORD
);
521 BOOL WINAPI
EnumDateFormatsW(DATEFMT_ENUMPROCW
,LCID
,DWORD
);
522 #define EnumDateFormats WINELIB_NAME_AW(EnumDateFormats)
523 BOOL WINAPI
EnumDateFormatsExA(DATEFMT_ENUMPROCEXA
,LCID
,DWORD
);
524 BOOL WINAPI
EnumDateFormatsExW(DATEFMT_ENUMPROCEXW
,LCID
,DWORD
);
525 #define EnumDateFormatsEx WINELIB_NAME_AW(EnumDateFormatsEx)
526 BOOL WINAPI
EnumSystemCodePagesA(CODEPAGE_ENUMPROCA
,DWORD
);
527 BOOL WINAPI
EnumSystemCodePagesW(CODEPAGE_ENUMPROCW
,DWORD
);
528 #define EnumSystemCodePages WINELIB_NAME_AW(EnumSystemCodePages)
529 BOOL WINAPI
EnumSystemLocalesA(LOCALE_ENUMPROCA
,DWORD
);
530 BOOL WINAPI
EnumSystemLocalesW(LOCALE_ENUMPROCW
,DWORD
);
531 #define EnumSystemLocales WINELIB_NAME_AW(EnumSystemLocales)
532 BOOL WINAPI
EnumSystemLanguageGroupsA(LANGUAGEGROUP_ENUMPROCA
,DWORD
,LONG_PTR
);
533 BOOL WINAPI
EnumSystemLanguageGroupsW(LANGUAGEGROUP_ENUMPROCW
,DWORD
,LONG_PTR
);
534 #define EnumSystemLanguageGroups WINELIB_NAME_AW(EnumSystemLanguageGroups)
535 BOOL WINAPI
EnumLanguageGroupLocalesA(LANGGROUPLOCALE_ENUMPROCA
,LGRPID
,DWORD
,LONG_PTR
);
536 BOOL WINAPI
EnumLanguageGroupLocalesW(LANGGROUPLOCALE_ENUMPROCW
,LGRPID
,DWORD
,LONG_PTR
);
537 #define EnumLanguageGroupLocales WINELIB_NAME_AW(EnumLanguageGroupLocales)
538 BOOL WINAPI
EnumTimeFormatsA(TIMEFMT_ENUMPROCA
,LCID
,DWORD
);
539 BOOL WINAPI
EnumTimeFormatsW(TIMEFMT_ENUMPROCW
,LCID
,DWORD
);
540 #define EnumTimeFormats WINELIB_NAME_AW(EnumTimeFormats)
541 int WINAPI
FoldStringA(DWORD
,LPCSTR
,int,LPSTR
,int);
542 int WINAPI
FoldStringW(DWORD
,LPCWSTR
,int,LPWSTR
,int);
543 #define FoldString WINELIB_NAME_AW(FoldString)
544 UINT WINAPI
GetACP(void);
545 BOOL WINAPI
GetCPInfo(UINT
,LPCPINFO
);
546 BOOL WINAPI
GetCPInfoExA(UINT
,DWORD
,LPCPINFOEXA
);
547 BOOL WINAPI
GetCPInfoExW(UINT
,DWORD
,LPCPINFOEXW
);
548 #define GetCPInfoEx WINELIB_NAME_AW(GetCPInfoEx)
549 int WINAPI
GetCalendarInfoA(LCID
,DWORD
,DWORD
,LPSTR
,INT
,LPDWORD
);
550 int WINAPI
GetCalendarInfoW(LCID
,DWORD
,DWORD
,LPWSTR
,INT
,LPDWORD
);
551 #define GetCalendarInfo WINELIB_NAME_AW(GetCalendarInfo)
552 INT WINAPI
GetCurrencyFormatA(LCID
,DWORD
,LPCSTR
,const CURRENCYFMTA
*,LPSTR
,int);
553 INT WINAPI
GetCurrencyFormatW(LCID
,DWORD
,LPCWSTR
,const CURRENCYFMTW
*,LPWSTR
,int);
554 #define GetCurrencyFormat WINELIB_NAME_AW(GetCurrencyFormat)
555 INT WINAPI
GetDateFormatA(LCID
,DWORD
,const SYSTEMTIME
*,LPCSTR
,LPSTR
,INT
);
556 INT WINAPI
GetDateFormatW(LCID
,DWORD
,const SYSTEMTIME
*,LPCWSTR
,LPWSTR
,INT
);
557 #define GetDateFormat WINELIB_NAME_AW(GetDateFormat)
558 INT WINAPI
GetLocaleInfoA(LCID
,LCTYPE
,LPSTR
,INT
);
559 INT WINAPI
GetLocaleInfoW(LCID
,LCTYPE
,LPWSTR
,INT
);
560 #define GetLocaleInfo WINELIB_NAME_AW(GetLocaleInfo)
561 INT WINAPI
GetNumberFormatA(LCID
,DWORD
,LPCSTR
,const NUMBERFMTA
*,LPSTR
,int);
562 INT WINAPI
GetNumberFormatW(LCID
,DWORD
,LPCWSTR
,const NUMBERFMTW
*,LPWSTR
,int);
563 #define GetNumberFormat WINELIB_NAME_AW(GetNumberFormat)
564 UINT WINAPI
GetOEMCP(void);
565 BOOL WINAPI
GetStringTypeA(LCID
,DWORD
,LPCSTR
,INT
,LPWORD
);
566 BOOL WINAPI
GetStringTypeW(DWORD
,LPCWSTR
,INT
,LPWORD
);
567 BOOL WINAPI
GetStringTypeExA(LCID
,DWORD
,LPCSTR
,INT
,LPWORD
);
568 BOOL WINAPI
GetStringTypeExW(LCID
,DWORD
,LPCWSTR
,INT
,LPWORD
);
569 #define GetStringTypeEx WINELIB_NAME_AW(GetStringTypeEx)
570 LANGID WINAPI
GetSystemDefaultLangID(void);
571 LCID WINAPI
GetSystemDefaultLCID(void);
572 LANGID WINAPI
GetSystemDefaultUILanguage(void);
573 LCID WINAPI
GetThreadLocale(void);
574 INT WINAPI
GetTimeFormatA(LCID
,DWORD
,const SYSTEMTIME
*,LPCSTR
,LPSTR
,INT
);
575 INT WINAPI
GetTimeFormatW(LCID
,DWORD
,const SYSTEMTIME
*,LPCWSTR
,LPWSTR
,INT
);
576 #define GetTimeFormat WINELIB_NAME_AW(GetTimeFormat)
577 LANGID WINAPI
GetUserDefaultLangID(void);
578 LCID WINAPI
GetUserDefaultLCID(void);
579 LANGID WINAPI
GetUserDefaultUILanguage(void);
580 BOOL WINAPI
IsDBCSLeadByte(BYTE
);
581 BOOL WINAPI
IsDBCSLeadByteEx(UINT
,BYTE
);
582 BOOL WINAPI
IsValidCodePage(UINT
);
583 BOOL WINAPI
IsValidLocale(LCID
,DWORD
);
584 BOOL WINAPI
IsValidLanguageGroup(LGRPID
,DWORD
);
585 INT WINAPI
LCMapStringA(LCID
,DWORD
,LPCSTR
,INT
,LPSTR
,INT
);
586 INT WINAPI
LCMapStringW(LCID
,DWORD
,LPCWSTR
,INT
,LPWSTR
,INT
);
587 #define LCMapString WINELIB_NAME_AW(LCMapString)
588 INT WINAPI
MultiByteToWideChar(UINT
,DWORD
,LPCSTR
,INT
,LPWSTR
,INT
);
589 BOOL WINAPI
SetLocaleInfoA(LCID
,LCTYPE
,LPCSTR
);
590 BOOL WINAPI
SetLocaleInfoW(LCID
,LCTYPE
,LPCWSTR
);
591 #define SetLocaleInfo WINELIB_NAME_AW(SetLocaleInfo)
592 BOOL WINAPI
SetThreadLocale(LCID
);
593 INT WINAPI
WideCharToMultiByte(UINT
,DWORD
,LPCWSTR
,INT
,LPSTR
,INT
,LPCSTR
,LPBOOL
);
600 #endif /* __WINE_WINNLS_H */