ReactOS 0.4.17-dev-470-gf9e3448
winnls.h
Go to the documentation of this file.
1#ifndef _WINNLS_
2#define _WINNLS_
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#ifdef _MSC_VER
9#pragma warning(push)
10#pragma warning(disable:4820)
11#endif
12
13#define GEOID_NOT_AVAILABLE (-1)
14#define MAX_LEADBYTES 12
15#define MAX_DEFAULTCHAR 2
16
17#define LOCALE_ALL 0x00
18
19#define LOCALE_NOUSEROVERRIDE 0x80000000
20#define LOCALE_USE_CP_ACP 0x40000000
21#if (WINVER >= 0x0400)
22#define LOCALE_RETURN_NUMBER 0x20000000
23#endif
24#define LOCALE_RETURN_GENITIVE_NAMES 0x10000000
25#define LOCALE_ALLOW_NEUTRAL_NAMES 0x08000000
26#define LOCALE_SLOCALIZEDDISPLAYNAME 0x00000002
27#if (WINVER >= _WIN32_WINNT_VISTA)
28#define LOCALE_SLOCALIZEDLANGUAGENAME 0x0000006f
29#endif
30#define LOCALE_ILANGUAGE 1
31#define LOCALE_SLANGUAGE 2
32#define LOCALE_SENGLANGUAGE 0x1001
33#define LOCALE_SENGLISHLANGUAGENAME 0x1001
34#define LOCALE_SNATIVELANGUAGENAME 0x00000004
35#define LOCALE_SLOCALIZEDCOUNTRYNAME 0x00000006
36#define LOCALE_SNATIVECOUNTRYNAME 0x00000008
37#define LOCALE_SABBREVLANGNAME 3
38#define LOCALE_SNATIVELANGNAME 4
39#define LOCALE_ICOUNTRY 5
40#define LOCALE_SCOUNTRY 6
41#define LOCALE_SENGCOUNTRY 0x1002
42#define LOCALE_SENGLISHCOUNTRYNAME 0x1002
43#define LOCALE_SABBREVCTRYNAME 7
44#define LOCALE_SNATIVECTRYNAME 8
45#define LOCALE_IDEFAULTLANGUAGE 9
46#define LOCALE_IDEFAULTCOUNTRY 10
47#define LOCALE_IDEFAULTCODEPAGE 11
48#define LOCALE_IDEFAULTANSICODEPAGE 0x1004
49#define LOCALE_IDEFAULTMACCODEPAGE 0x1011
50#define LOCALE_SLIST 12
51#define LOCALE_IMEASURE 13
52#define LOCALE_SDECIMAL 14
53#define LOCALE_STHOUSAND 15
54#define LOCALE_SGROUPING 16
55#define LOCALE_IDIGITS 17
56#define LOCALE_ILZERO 18
57#define LOCALE_INEGNUMBER 0x1010
58#define LOCALE_SNATIVEDIGITS 19
59#define LOCALE_SCURRENCY 20
60#define LOCALE_SINTLSYMBOL 21
61#define LOCALE_SMONDECIMALSEP 22
62#define LOCALE_SMONTHOUSANDSEP 23
63#define LOCALE_SMONGROUPING 24
64#define LOCALE_ICURRDIGITS 25
65#define LOCALE_IINTLCURRDIGITS 26
66#define LOCALE_ICURRENCY 27
67#define LOCALE_INEGCURR 28
68#define LOCALE_SDATE 29
69#define LOCALE_STIME 30
70#define LOCALE_SSHORTDATE 31
71#define LOCALE_SLONGDATE 32
72#define LOCALE_STIMEFORMAT 0x1003
73#define LOCALE_IDATE 33
74#define LOCALE_ILDATE 34
75#define LOCALE_ITIME 35
76#define LOCALE_ITIMEMARKPOSN 0x1005
77#define LOCALE_ICENTURY 36
78#define LOCALE_ITLZERO 37
79#define LOCALE_IDAYLZERO 38
80#define LOCALE_IMONLZERO 39
81#define LOCALE_S1159 40
82#define LOCALE_S2359 41
83#define LOCALE_ICALENDARTYPE 0x1009
84#define LOCALE_IOPTIONALCALENDAR 0x100B
85#define LOCALE_IFIRSTDAYOFWEEK 0x100C
86#define LOCALE_IFIRSTWEEKOFYEAR 0x100D
87#define LOCALE_SDAYNAME1 42
88#define LOCALE_SDAYNAME2 43
89#define LOCALE_SDAYNAME3 44
90#define LOCALE_SDAYNAME4 45
91#define LOCALE_SDAYNAME5 46
92#define LOCALE_SDAYNAME6 47
93#define LOCALE_SDAYNAME7 48
94#define LOCALE_SABBREVDAYNAME1 49
95#define LOCALE_SABBREVDAYNAME2 50
96#define LOCALE_SABBREVDAYNAME3 51
97#define LOCALE_SABBREVDAYNAME4 52
98#define LOCALE_SABBREVDAYNAME5 53
99#define LOCALE_SABBREVDAYNAME6 54
100#define LOCALE_SABBREVDAYNAME7 55
101#define LOCALE_SMONTHNAME1 56
102#define LOCALE_SMONTHNAME2 57
103#define LOCALE_SMONTHNAME3 58
104#define LOCALE_SMONTHNAME4 59
105#define LOCALE_SMONTHNAME5 60
106#define LOCALE_SMONTHNAME6 61
107#define LOCALE_SMONTHNAME7 62
108#define LOCALE_SMONTHNAME8 63
109#define LOCALE_SMONTHNAME9 64
110#define LOCALE_SMONTHNAME10 65
111#define LOCALE_SMONTHNAME11 66
112#define LOCALE_SMONTHNAME12 67
113#define LOCALE_SMONTHNAME13 0x100E
114#define LOCALE_SABBREVMONTHNAME1 68
115#define LOCALE_SABBREVMONTHNAME2 69
116#define LOCALE_SABBREVMONTHNAME3 70
117#define LOCALE_SABBREVMONTHNAME4 71
118#define LOCALE_SABBREVMONTHNAME5 72
119#define LOCALE_SABBREVMONTHNAME6 73
120#define LOCALE_SABBREVMONTHNAME7 74
121#define LOCALE_SABBREVMONTHNAME8 75
122#define LOCALE_SABBREVMONTHNAME9 76
123#define LOCALE_SABBREVMONTHNAME10 77
124#define LOCALE_SABBREVMONTHNAME11 78
125#define LOCALE_SABBREVMONTHNAME12 79
126#define LOCALE_SABBREVMONTHNAME13 0x100F
127#define LOCALE_SPOSITIVESIGN 80
128#define LOCALE_SNEGATIVESIGN 81
129#define LOCALE_IPOSSIGNPOSN 82
130#define LOCALE_INEGSIGNPOSN 83
131#define LOCALE_IPOSSYMPRECEDES 84
132#define LOCALE_IPOSSEPBYSPACE 85
133#define LOCALE_INEGSYMPRECEDES 86
134#define LOCALE_INEGSEPBYSPACE 87
135#define LOCALE_FONTSIGNATURE 88
136#define LOCALE_SISO639LANGNAME 89
137#define LOCALE_SISO3166CTRYNAME 90
138
139/* FIXME: This value should be in the guarded block below */
140#define LOCALE_SNAME 92
141
142#if (WINVER >= 0x0600) || (defined(__REACTOS__) && defined(_KERNEL32_))
143#define LOCALE_IGEOID 91
144#define LOCALE_SNAME 92
145#define LOCALE_SDURATION 93
146#define LOCALE_SKEYBOARDSTOINSTALL 94
147#define LOCALE_SSHORTESTDAYNAME1 96
148#define LOCALE_SSHORTESTDAYNAME2 97
149#define LOCALE_SSHORTESTDAYNAME3 98
150#define LOCALE_SSHORTESTDAYNAME4 99
151#define LOCALE_SSHORTESTDAYNAME5 100
152#define LOCALE_SSHORTESTDAYNAME6 101
153#define LOCALE_SSHORTESTDAYNAME7 102
154#define LOCALE_SISO639LANGNAME2 103
155#define LOCALE_SISO3166CTRYNAME2 104
156#define LOCALE_SNAN 105
157#define LOCALE_SPOSINFINITY 106
158#define LOCALE_SNEGINFINITY 107
159#define LOCALE_SSCRIPTS 108
160#define LOCALE_SPARENT 109
161#define LOCALE_SCONSOLEFALLBACKNAME 110
162#endif /* (WINVER >= 0x0600) */
163
164//#if (WINVER >= _WIN32_WINNT_WIN7)
165#define LOCALE_IREADINGLAYOUT 0x0070
166#define LOCALE_INEUTRAL 0x0071
167#define LOCALE_SENGLISHDISPLAYNAME 0x0072
168#define LOCALE_SNATIVEDISPLAYNAME 0x0073
169#define LOCALE_INEGATIVEPERCENT 0x0074
170#define LOCALE_IPOSITIVEPERCENT 0x0075
171#define LOCALE_SPERCENT 0x0076
172#define LOCALE_SPERMILLE 0x0077
173#define LOCALE_SMONTHDAY 0x0078
174#define LOCALE_SSHORTTIME 0x0079
175#define LOCALE_SOPENTYPELANGUAGETAG 0x007a
176#define LOCALE_SSORTLOCALE 0x007b
177//#endif /* (WINVER >= _WIN32_WINNT_WIN7) */
178#define LOCALE_SRELATIVELONGDATE 0x007C // Win8
179#define LOCALE_SSHORTESTAM 0x007E
180#define LOCALE_SSHORTESTPM 0x007F
181
182
183#if (WINVER >= 0x0600)
184#define LOCALE_NAME_USER_DEFAULT NULL
185#define LOCALE_NAME_INVARIANT L""
186#define LOCALE_NAME_SYSTEM_DEFAULT L"!sys-default-locale"
187#endif
188
189#define LOCALE_IDEFAULTUNIXCODEPAGE 0x1030 /* Wine extension */
190
191#define NORM_IGNORECASE 1
192#define NORM_IGNOREKANATYPE 65536
193#define NORM_IGNORENONSPACE 2
194#define NORM_IGNORESYMBOLS 4
195#define NORM_IGNOREWIDTH 131072
196#define LINGUISTIC_IGNORECASE 0x00000010
197#define LINGUISTIC_IGNOREDIACRITIC 0x00000020
198#define NORM_LINGUISTIC_CASING 0x08000000
199#define SORT_STRINGSORT 4096
200#define SORT_DIGITSASNUMBERS 0x00000008 // _WIN32_WINNT_WIN7
201#define LCMAP_LOWERCASE 0x00000100
202#define LCMAP_UPPERCASE 0x00000200
203#define LCMAP_TITLECASE 0x00000300
204#define LCMAP_SORTKEY 0x00000400
205#define LCMAP_BYTEREV 0x00000800
206#define LCMAP_HASH 0x00040000
207#define LCMAP_HIRAGANA 0x00100000
208#define LCMAP_KATAKANA 0x00200000
209#define LCMAP_HALFWIDTH 0x00400000
210#define LCMAP_FULLWIDTH 0x00800000
211#define LCMAP_LINGUISTIC_CASING 0x01000000
212#define LCMAP_SIMPLIFIED_CHINESE 0x02000000
213#define LCMAP_TRADITIONAL_CHINESE 0x04000000
214#define LCMAP_SORTHANDLE 0x20000000
215#define ENUM_ALL_CALENDARS (-1)
216#define DATE_SHORTDATE 0x01
217#define DATE_LONGDATE 0x02
218#define DATE_USE_ALT_CALENDAR 0x04
219#define DATE_AUTOLAYOUT 0x40
220#define DATE_MONTHDAY 0x80
221
222#define CP_INSTALLED 1
223#define CP_SUPPORTED 2
224#define LCID_INSTALLED 1
225#define LCID_SUPPORTED 2
226#define LCID_ALTERNATE_SORTS 4
227
228#define FIND_STARTSWITH 0x00100000
229#define FIND_ENDSWITH 0x00200000
230#define FIND_FROMSTART 0x00400000
231#define FIND_FROMEND 0x00800000
232
233#define LOCALE_ALL 0x00
234#define LOCALE_WINDOWS 0x01
235#define LOCALE_SUPPLEMENTAL 0x02
236#define LOCALE_ALTERNATE_SORTS 0x04
237#define LOCALE_REPLACEMENT 0x08
238#define LOCALE_NEUTRALDATA 0x10
239#define LOCALE_SPECIFICDATA 0x20
240
241#define MAP_FOLDCZONE 16
242#define MAP_FOLDDIGITS 128
243#define MAP_PRECOMPOSED 32
244#define MAP_COMPOSITE 64
245
246#define WC_DISCARDNS 0x0010
247#define WC_SEPCHARS 0x0020
248#define WC_DEFAULTCHAR 0x0040
249#define WC_ERR_INVALID_CHARS 0x0080
250#define WC_COMPOSITECHECK 0x0200
251#if (WINVER >= 0x0500)
252#define WC_NO_BEST_FIT_CHARS 0x0400
253#endif
254
255#define CP_ACP 0
256#ifdef _WINE
257#define CP_UNIXCP CP_ACP
258#endif
259#define CP_OEMCP 1
260#define CP_MACCP 2
261#define CP_THREAD_ACP 3
262#define CP_SYMBOL 42
263#define CP_UTF7 65000
264#define CP_UTF8 65001
265#define CT_CTYPE1 1
266#define CT_CTYPE2 2
267#define CT_CTYPE3 4
268#define C1_UPPER 1
269#define C1_LOWER 2
270#define C1_DIGIT 4
271#define C1_SPACE 8
272#define C1_PUNCT 16
273#define C1_CNTRL 32
274#define C1_BLANK 64
275#define C1_XDIGIT 128
276#define C1_ALPHA 256
277#define C1_DEFINED 512
278#define C2_LEFTTORIGHT 1
279#define C2_RIGHTTOLEFT 2
280#define C2_EUROPENUMBER 3
281#define C2_EUROPESEPARATOR 4
282#define C2_EUROPETERMINATOR 5
283#define C2_ARABICNUMBER 6
284#define C2_COMMONSEPARATOR 7
285#define C2_BLOCKSEPARATOR 8
286#define C2_SEGMENTSEPARATOR 9
287#define C2_WHITESPACE 10
288#define C2_OTHERNEUTRAL 11
289#define C2_NOTAPPLICABLE 0
290#define C3_NONSPACING 1
291#define C3_DIACRITIC 2
292#define C3_VOWELMARK 4
293#define C3_SYMBOL 8
294#define C3_KATAKANA 16
295#define C3_HIRAGANA 32
296#define C3_HALFWIDTH 64
297#define C3_FULLWIDTH 128
298#define C3_IDEOGRAPH 256
299#define C3_KASHIDA 512
300#define C3_LEXICAL 1024
301#define C3_ALPHA 32768
302#define C3_NOTAPPLICABLE 0
303#define C3_HIGHSURROGATE 0x0800
304#define C3_LOWSURROGATE 0x1000
305#define TIME_NOMINUTESORSECONDS 1
306#define TIME_NOSECONDS 2
307#define TIME_NOTIMEMARKER 4
308#define TIME_FORCE24HOURFORMAT 8
309#define MB_PRECOMPOSED 1
310#define MB_COMPOSITE 2
311#define MB_ERR_INVALID_CHARS 8
312#define MB_USEGLYPHCHARS 4
313#define CTRY_DEFAULT 0
314#define CTRY_ALBANIA 355
315#define CTRY_ALGERIA 213
316#define CTRY_ARGENTINA 54
317#define CTRY_ARMENIA 374
318#define CTRY_AUSTRALIA 61
319#define CTRY_AUSTRIA 43
320#define CTRY_AZERBAIJAN 994
321#define CTRY_BAHRAIN 973
322#define CTRY_BELARUS 375
323#define CTRY_BELGIUM 32
324#define CTRY_BELIZE 501
325#define CTRY_BOLIVIA 591
326#define CTRY_BRAZIL 55
327#define CTRY_BRUNEI_DARUSSALAM 673
328#define CTRY_BULGARIA 359
329#define CTRY_CANADA 2
330#define CTRY_CARIBBEAN 1
331#define CTRY_CHILE 56
332#define CTRY_COLOMBIA 57
333#define CTRY_COSTA_RICA 506
334#define CTRY_CROATIA 385
335#define CTRY_CZECH 420
336#define CTRY_DENMARK 45
337#define CTRY_DOMINICAN_REPUBLIC 1
338#define CTRY_ECUADOR 593
339#define CTRY_EGYPT 20
340#define CTRY_EL_SALVADOR 503
341#define CTRY_ESTONIA 372
342#define CTRY_FAEROE_ISLANDS 298
343#define CTRY_FINLAND 358
344#define CTRY_FRANCE 33
345#define CTRY_GEORGIA 995
346#define CTRY_GERMANY 49
347#define CTRY_GREECE 30
348#define CTRY_GUATEMALA 502
349#define CTRY_HONDURAS 504
350#define CTRY_HONG_KONG 852
351#define CTRY_HUNGARY 36
352#define CTRY_ICELAND 354
353#define CTRY_INDIA 91
354#define CTRY_INDONESIA 62
355#define CTRY_IRAN 981
356#define CTRY_IRAQ 964
357#define CTRY_IRELAND 353
358#define CTRY_ISRAEL 972
359#define CTRY_ITALY 39
360#define CTRY_JAMAICA 1
361#define CTRY_JAPAN 81
362#define CTRY_JORDAN 962
363#define CTRY_KAZAKSTAN 7
364#define CTRY_KENYA 254
365#define CTRY_KUWAIT 965
366#define CTRY_KYRGYZSTAN 996
367#define CTRY_LATVIA 371
368#define CTRY_LEBANON 961
369#define CTRY_LIBYA 218
370#define CTRY_LIECHTENSTEIN 41
371#define CTRY_LITHUANIA 370
372#define CTRY_LUXEMBOURG 352
373#define CTRY_MACAU 853
374#define CTRY_MACEDONIA 389
375#define CTRY_MALAYSIA 60
376#define CTRY_MALDIVES 960
377#define CTRY_MEXICO 52
378#define CTRY_MONACO 33
379#define CTRY_MONGOLIA 976
380#define CTRY_MOROCCO 212
381#define CTRY_NETHERLANDS 31
382#define CTRY_NEW_ZEALAND 64
383#define CTRY_NICARAGUA 505
384#define CTRY_NORWAY 47
385#define CTRY_OMAN 968
386#define CTRY_PAKISTAN 92
387#define CTRY_PANAMA 507
388#define CTRY_PARAGUAY 595
389#define CTRY_PERU 51
390#define CTRY_PHILIPPINES 63
391#define CTRY_POLAND 48
392#define CTRY_PORTUGAL 351
393#define CTRY_PRCHINA 86
394#define CTRY_PUERTO_RICO 1
395#define CTRY_QATAR 974
396#define CTRY_ROMANIA 40
397#define CTRY_RUSSIA 7
398#define CTRY_SAUDI_ARABIA 966
399#define CTRY_SERBIA 381
400#define CTRY_SINGAPORE 65
401#define CTRY_SLOVAK 421
402#define CTRY_SLOVENIA 386
403#define CTRY_SOUTH_AFRICA 27
404#define CTRY_SOUTH_KOREA 82
405#define CTRY_SPAIN 34
406#define CTRY_SWEDEN 46
407#define CTRY_SWITZERLAND 41
408#define CTRY_SYRIA 963
409#define CTRY_TAIWAN 886
410#define CTRY_TATARSTAN 7
411#define CTRY_THAILAND 66
412#define CTRY_TRINIDAD_Y_TOBAGO 1
413#define CTRY_TUNISIA 216
414#define CTRY_TURKEY 90
415#define CTRY_UAE 971
416#define CTRY_UKRAINE 380
417#define CTRY_UNITED_KINGDOM 44
418#define CTRY_UNITED_STATES 1
419#define CTRY_URUGUAY 598
420#define CTRY_UZBEKISTAN 7
421#define CTRY_VENEZUELA 58
422#define CTRY_VIET_NAM 84
423#define CTRY_YEMEN 967
424#define CTRY_ZIMBABWE 263
425#define CAL_ICALINTVALUE 1
426#define CAL_SCALNAME 2
427#define CAL_IYEAROFFSETRANGE 3
428#define CAL_SERASTRING 4
429#define CAL_SSHORTDATE 5
430#define CAL_SLONGDATE 6
431#define CAL_SDAYNAME1 7
432#define CAL_SDAYNAME2 8
433#define CAL_SDAYNAME3 9
434#define CAL_SDAYNAME4 10
435#define CAL_SDAYNAME5 11
436#define CAL_SDAYNAME6 12
437#define CAL_SDAYNAME7 13
438#define CAL_SABBREVDAYNAME1 14
439#define CAL_SABBREVDAYNAME2 15
440#define CAL_SABBREVDAYNAME3 16
441#define CAL_SABBREVDAYNAME4 17
442#define CAL_SABBREVDAYNAME5 18
443#define CAL_SABBREVDAYNAME6 19
444#define CAL_SABBREVDAYNAME7 20
445#define CAL_SMONTHNAME1 21
446#define CAL_SMONTHNAME2 22
447#define CAL_SMONTHNAME3 23
448#define CAL_SMONTHNAME4 24
449#define CAL_SMONTHNAME5 25
450#define CAL_SMONTHNAME6 26
451#define CAL_SMONTHNAME7 27
452#define CAL_SMONTHNAME8 28
453#define CAL_SMONTHNAME9 29
454#define CAL_SMONTHNAME10 30
455#define CAL_SMONTHNAME11 31
456#define CAL_SMONTHNAME12 32
457#define CAL_SMONTHNAME13 33
458#define CAL_SABBREVMONTHNAME1 34
459#define CAL_SABBREVMONTHNAME2 35
460#define CAL_SABBREVMONTHNAME3 36
461#define CAL_SABBREVMONTHNAME4 37
462#define CAL_SABBREVMONTHNAME5 38
463#define CAL_SABBREVMONTHNAME6 39
464#define CAL_SABBREVMONTHNAME7 40
465#define CAL_SABBREVMONTHNAME8 41
466#define CAL_SABBREVMONTHNAME9 42
467#define CAL_SABBREVMONTHNAME10 43
468#define CAL_SABBREVMONTHNAME11 44
469#define CAL_SABBREVMONTHNAME12 45
470#define CAL_SABBREVMONTHNAME13 46
471#if (WINVER >= _WIN32_WINNT_WIN2K)
472#define CAL_SYEARMONTH 47
473#define CAL_ITWODIGITYEARMAX 48
474#endif //(WINVER >= _WIN32_WINNT_WIN2K)
475#if (WINVER >= _WIN32_WINNT_VISTA)
476#define CAL_SSHORTESTDAYNAME1 49
477#define CAL_SSHORTESTDAYNAME2 50
478#define CAL_SSHORTESTDAYNAME3 51
479#define CAL_SSHORTESTDAYNAME4 52
480#define CAL_SSHORTESTDAYNAME5 53
481#define CAL_SSHORTESTDAYNAME6 54
482#define CAL_SSHORTESTDAYNAME7 55
483#endif //(WINVER >= _WIN32_WINNT_VISTA)
484#if (WINVER >= _WIN32_WINNT_WIN7)
485#define CAL_SMONTHDAY 56
486#define CAL_SABBREVERASTRING 57
487#endif //(WINVER >= _WIN32_WINNT_WIN7)
488#if (WINVER >= _WIN32_WINNT_WIN8) || defined(_KERNELBASE_)
489#define CAL_SRELATIVELONGDATE 58
490#define CAL_SENGLISHERANAME 59
491#define CAL_SENGLISHABBREVERANAME 60
492#endif /* WIN8+ or kernelbase Wine build */
493#define CAL_GREGORIAN 1
494#define CAL_GREGORIAN_US 2
495#define CAL_JAPAN 3
496#define CAL_TAIWAN 4
497#define CAL_KOREA 5
498#define CAL_HIJRI 6
499#define CAL_THAI 7
500#define CAL_HEBREW 8
501#define CAL_GREGORIAN_ME_FRENCH 9
502#define CAL_GREGORIAN_ARABIC 10
503#define CAL_GREGORIAN_XLIT_ENGLISH 11
504#define CAL_GREGORIAN_XLIT_FRENCH 12
505#define CAL_PERSIAN 22
506#define CAL_UMALQURA 23
507#define CSTR_LESS_THAN 1
508#define CSTR_EQUAL 2
509#define CSTR_GREATER_THAN 3
510#define LGRPID_INSTALLED 1
511#define LGRPID_SUPPORTED 2
512#define LGRPID_WESTERN_EUROPE 1
513#define LGRPID_CENTRAL_EUROPE 2
514#define LGRPID_BALTIC 3
515#define LGRPID_GREEK 4
516#define LGRPID_CYRILLIC 5
517#define LGRPID_TURKISH 6
518#define LGRPID_JAPANESE 7
519#define LGRPID_KOREAN 8
520#define LGRPID_TRADITIONAL_CHINESE 9
521#define LGRPID_SIMPLIFIED_CHINESE 10
522#define LGRPID_THAI 11
523#define LGRPID_HEBREW 12
524#define LGRPID_ARABIC 13
525#define LGRPID_VIETNAMESE 14
526#define LGRPID_INDIC 15
527#define LGRPID_GEORGIAN 16
528#define LGRPID_ARMENIAN 17
529
530#if (WINVER >= 0x0500)
531#define LOCALE_SYEARMONTH 0x1006
532#define LOCALE_SENGCURRNAME 0x1007
533#define LOCALE_SNATIVECURRNAME 0x1008
534#define LOCALE_IDEFAULTEBCDICCODEPAGE 0x1012
535#define LOCALE_SSORTNAME 0x1013
536#define LOCALE_IDIGITSUBSTITUTION 0x1014
537#define LOCALE_IPAPERSIZE 0x100A
538#define DATE_YEARMONTH 8
539#define DATE_LTRREADING 16
540#define DATE_RTLREADING 32
541#define MAP_EXPAND_LIGATURES 0x2000
542#define CAL_NOUSEROVERRIDE LOCALE_NOUSEROVERRIDE
543#define CAL_RETURN_NUMBER LOCALE_RETURN_NUMBER
544#define CAL_RETURN_GENITIVE_NAMES LOCALE_RETURN_GENITIVE_NAMES
545#define CAL_USE_CP_ACP LOCALE_USE_CP_ACP
546#define CAL_RETURN_GENITIVE_NAMES LOCALE_RETURN_GENITIVE_NAMES
547
548#endif /* (WINVER >= 0x0500) */
549#if WINVER >= 0x0600
550#define IDN_ALLOW_UNASSIGNED 0x1
551#define IDN_USE_STD3_ASCII_RULES 0x2
552#define VS_ALLOW_LATIN 0x1
553#define GSS_ALLOW_INHERITED_COMMON 0x1
554#endif
555#ifndef _BASETSD_H_
556typedef long LONG_PTR;
557#endif
558
559#if (WINVER >= 0x0600)
560#define MUI_FULL_LANGUAGE 0x0001
561#define MUI_LANGUAGE_ID 0x0004
562#define MUI_LANGUAGE_NAME 0x0008
563#define MUI_MERGE_SYSTEM_FALLBACK 0x0010
564#define MUI_MERGE_USER_FALLBACK 0x0020
565#define MUI_UI_FALLBACK MUI_MERGE_SYSTEM_FALLBACK | MUI_MERGE_USER_FALLBACK
566#define MUI_THREAD_LANGUAGES 0x0040
567#define MUI_CONSOLE_FILTER 0x0100
568#define MUI_COMPLEX_SCRIPT_FILTER 0x0200
569#define MUI_RESET_FILTERS 0x0001
570#define MUI_USER_PREFERRED_UI_LANGUAGES 0x0010
571#define MUI_USE_INSTALLED_LANGUAGES 0x0020
572#define MUI_USE_SEARCH_ALL_LANGUAGES 0x0040
573#define MUI_LANG_NEUTRAL_PE_FILE 0x0100
574#define MUI_NON_LANG_NEUTRAL_FILE 0x0200
575#define MUI_MACHINE_LANGUAGE_SETTINGS 0x0400
576#define MUI_FILETYPE_NOT_LANGUAGE_NEUTRAL 0x0001
577#define MUI_FILETYPE_LANGUAGE_NEUTRAL_MAIN 0x0002
578#define MUI_FILETYPE_LANGUAGE_NEUTRAL_MUI 0x0004
579#define MUI_QUERY_TYPE 0x0001
580#define MUI_QUERY_CHECKSUM 0x0002
581#define MUI_QUERY_LANGUAGE_NAME 0x0004
582#define MUI_QUERY_RESOURCE_TYPES 0x0008
583#define MUI_FILEINFO_VERSION 0x0001
584#define MUI_FULL_LANGUAGE 0x0001
585#define MUI_PARTIAL_LANGUAGE 0x0002
586#define MUI_LIP_LANGUAGE 0x0004
587#define MUI_LANGUAGE_INSTALLED 0x0020
588#define MUI_LANGUAGE_LICENSED 0x0040
589#endif /* (WINVER >= 0x0600) */
590
591#ifndef RC_INVOKED
592typedef DWORD LCTYPE;
594typedef DWORD CALID;
595typedef DWORD LGRPID;
596typedef DWORD GEOID;
624
626 COMPARE_STRING = 0x0001
632 GEOCLASS_NATION = 16
634
635/* Geographic Information types */
637{
654#if (NTDDI_VERSION >= NTDDI_WIN10_RS3) || defined(_KERNELBASE_)
656 GEO_ID
657#endif
659
660typedef struct _cpinfo {
665typedef struct _cpinfoexA {
673typedef struct _cpinfoexW {
681typedef struct _currencyfmtA {
691typedef struct _currencyfmtW {
701typedef struct _nlsversioninfo {
705#if (WINVER >= _WIN32_WINNT_WIN8) || defined(_KERNELBASE_)
708#endif
710typedef struct _nlsversioninfoex {
717typedef struct _numberfmtA {
725typedef struct _numberfmtW {
733#if 1//(WINVER >= 0x0600)
734typedef enum _NORM_FORM {
739 NormalizationKD = 0x6
741#endif /* (WINVER >= 0x0600) */
742typedef struct _FILEMUIINFO {
757
758#define HIGH_SURROGATE_START 0xd800
759#define HIGH_SURROGATE_END 0xdbff
760#define LOW_SURROGATE_START 0xdc00
761#define LOW_SURROGATE_END 0xdfff
762
763#define IS_HIGH_SURROGATE(ch) ((ch) >= HIGH_SURROGATE_START && (ch) <= HIGH_SURROGATE_END)
764#define IS_LOW_SURROGATE(ch) ((ch) >= LOW_SURROGATE_START && (ch) <= LOW_SURROGATE_END)
765#define IS_SURROGATE_PAIR(high,low) (IS_HIGH_SURROGATE(high) && IS_LOW_SURROGATE(low))
766
767int
768WINAPI
770 _In_ LCID Locale,
771 _In_ DWORD dwCmpFlags,
772 _In_reads_(cchCount1) LPCSTR lpString1,
773 _In_ int cchCount1,
774 _In_reads_(cchCount2) LPCSTR lpString2,
775 _In_ int cchCount2);
776
777int
778WINAPI
780 _In_ LCID Locale,
781 _In_ DWORD dwCmpFlags,
782 _In_reads_(cchCount1) LPCWSTR lpString1,
783 _In_ int cchCount1,
784 _In_reads_(cchCount2) LPCWSTR lpString2,
785 _In_ int cchCount2);
786
797
799
801BOOL
802WINAPI
804 _In_ LOCALE_ENUMPROCEX lpLocaleEnumProcEx,
808
811
813int
814WINAPI
816 _In_ LCID Locale,
817 _In_ DWORD dwFindNLSStringFlags,
819 _In_ int cchSource,
820 _In_reads_(cchValue) LPCWSTR lpStringValue,
821 _In_ int cchValue,
822 _Out_opt_ LPINT pcchFound);
823
825int
826WINAPI
828 _In_opt_ LPCWSTR lpLocaleName,
829 _In_ DWORD dwFindNLSStringFlags,
831 _In_ int cchSource,
832 _In_reads_(cchValue) LPCWSTR lpStringValue,
833 _In_ int cchValue,
834 _Out_opt_ LPINT pcchFound,
838
839int
840WINAPI
843 _In_reads_(cchSrc) LPCSTR lpSrcStr,
844 _In_ int cchSrc,
845 _Out_writes_opt_(cchDest) LPSTR lpDestStr,
846 _In_ int cchDest);
847
848int
849WINAPI
852 _In_reads_(cchSrc) LPCWSTR lpSrcStr,
853 _In_ int cchSrc,
855 _In_ int cchDest);
856
857UINT WINAPI GetACP(void);
858
859int
860WINAPI
862 _In_ LCID Locale,
863 _In_ CALID Calendar,
864 _In_ CALTYPE CalType,
865 _Out_writes_opt_(cchData) LPSTR lpCalData,
866 _In_ int cchData,
867 _Out_opt_ LPDWORD lpValue);
868
869int
870WINAPI
872 _In_ LCID Locale,
873 _In_ CALID Calendar,
874 _In_ CALTYPE CalType,
875 _Out_writes_opt_(cchData) LPWSTR lpCalData,
876 _In_ int cchData,
877 _Out_opt_ LPDWORD lpValue);
878
882
883int
884WINAPI
886 _In_ LCID Locale,
888 _In_ LPCSTR lpValue,
890 _Out_writes_opt_(cchCurrency) LPSTR lpCurrencyStr,
891 _In_ int cchCurrency);
892
893int
894WINAPI
896 _In_ LCID Locale,
898 _In_ LPCWSTR lpValue,
900 _Out_writes_opt_(cchCurrency) LPWSTR lpCurrencyStr,
901 _In_ int cchCurrency);
902
906
907int
908WINAPI
910 _In_ GEOID Location,
911 _In_ GEOTYPE GeoType,
912 _Out_writes_opt_(cchData) LPSTR lpGeoData,
913 _In_ int cchData,
914 _In_ LANGID LangId);
915
916int
917WINAPI
919 _In_ GEOID Location,
920 _In_ GEOTYPE GeoType,
921 _Out_writes_opt_(cchData) LPWSTR lpGeoData,
922 _In_ int cchData,
923 _In_ LANGID LangId);
924
925int
926WINAPI
928 _In_ LCID Locale,
929 _In_ LCTYPE LCType,
930 _Out_writes_opt_(cchData) LPSTR lpLCData,
931 _In_ int cchData);
932
933int
934WINAPI
936 _In_ LCID Locale,
937 _In_ LCTYPE LCType,
938 _Out_writes_opt_(cchData) LPWSTR lpLCData,
939 _In_ int cchData);
940
942
943BOOL
944WINAPI
946 _In_ NLS_FUNCTION function,
947 _In_ LPCWSTR lpLocaleName,
949
950int
951WINAPI
953 _In_ LCID Locale,
955 _In_ LPCSTR lpValue,
957 _Out_writes_opt_(cchNumber) LPSTR lpNumberStr,
958 _In_ int cchNumber);
959
960int
961WINAPI
963 _In_ LCID Locale,
965 _In_ LPCWSTR lpValue,
967 _Out_writes_opt_(cchNumber) LPWSTR lpNumberStr,
968 _In_ int cchNumber);
969
970UINT WINAPI GetOEMCP(void);
971
972BOOL
973WINAPI
975 _In_ LCID Locale,
976 _In_ DWORD dwInfoType,
977 _In_reads_(cchSrc) LPCSTR lpSrcStr,
978 _In_ int cchSrc,
979 _Out_ LPWORD lpCharType);
980
981BOOL
982WINAPI
984 _In_ DWORD dwInfoType,
985 _In_reads_(cchSrc) LPCWSTR lpSrcStr,
986 _In_ int cchSrc,
987 _Out_ LPWORD lpCharType);
988
989BOOL
990WINAPI
992 _In_ LCID Locale,
993 _In_ DWORD dwInfoType,
994 _In_reads_(cchSrc) LPCSTR lpSrcStr,
995 _In_ int cchSrc,
996 _Out_writes_(cchSrc) LPWORD lpCharType);
997
998BOOL
999WINAPI
1001 _In_ LCID Locale,
1002 _In_ DWORD dwInfoType,
1003 _In_reads_(cchSrc) LPCWSTR lpSrcStr,
1004 _In_ int cchSrc,
1005 _Out_writes_(cchSrc) LPWORD lpCharType);
1006
1014
1016int
1017WINAPI
1019 _Out_writes_(cchLocaleName) LPWSTR lpLocaleName,
1020 _In_ int cchLocaleName);
1021
1024
1025#if (WINVER >= 0x0600)
1026
1027int
1028WINAPI
1031 _In_reads_(cchUnicodeChar) LPCWSTR lpUnicodeCharStr,
1032 _In_ int cchUnicodeChar,
1033 _Out_writes_opt_(cchASCIIChar) LPWSTR lpASCIICharStr,
1034 _In_ int cchASCIIChar);
1035
1036int
1037WINAPI
1040 _In_reads_(cchASCIIChar) LPCWSTR lpASCIICharStr,
1041 _In_ int cchASCIIChar,
1042 _Out_writes_opt_(cchUnicodeChar) LPWSTR lpUnicodeCharStr,
1043 _In_ int cchUnicodeChar);
1044
1046int
1047WINAPI
1049 _Out_writes_(cchLocaleName) LPWSTR lpLocaleName,
1050 _In_ int cchLocaleName);
1051
1053BOOL
1054WINAPI
1056 _In_ DATEFMT_ENUMPROCEXEX lpDateFmtEnumProcExEx,
1057 _In_opt_ LPCWSTR lpLocaleName,
1060
1061#endif /* WINVER >= 0x0600 */
1062
1065
1066BOOL
1067WINAPI
1072 _In_reads_(cchStr) LPCWSTR lpString,
1073 _In_ int cchStr);
1074
1077
1078int
1079WINAPI
1081 _In_ LCID Locale,
1083 _In_reads_(cchSrc) LPCSTR lpSrcStr,
1084 _In_ int cchSrc,
1085 _Out_writes_opt_(_Inexpressible_(cchDest)) LPSTR lpDestStr,
1086 _In_ int cchDest);
1087
1088int
1089WINAPI
1091 _In_ LCID Locale,
1093 _In_reads_(cchSrc) LPCWSTR lpSrcStr,
1094 _In_ int cchSrc,
1095 _Out_writes_opt_(_Inexpressible_(cchDest)) LPWSTR lpDestStr,
1096 _In_ int cchDest);
1097
1109#if (WINVER >= 0x0500)
1123#endif /* (WINVER >= 0x0500) */
1124
1125#if 1//(WINVER >= 0x0600)
1126
1127_Success_(return != FALSE)
1128BOOL
1129WINAPI
1135
1136BOOL
1137WINAPI
1141 _Inout_updates_opt_(*pcchLanguage) PWSTR pwszLanguage,
1142 _Inout_ PULONG pcchLanguage,
1143 _Out_writes_opt_(*pcchFileMUIPath) PWSTR pwszFileMUIPath,
1144 _Inout_ PULONG pcchFileMUIPath,
1145 _Inout_ PULONGLONG pululEnumerator);
1146
1148int
1149WINAPI
1151 _In_opt_ LPCWSTR lpLocaleName,
1152 _In_ LCTYPE LCType,
1153 _Out_writes_opt_(cchData) LPWSTR lpLCData,
1154 _In_ int cchData);
1155
1157BOOL
1158WINAPI
1160 _In_ LPCWSTR lpLocaleName);
1161
1162BOOL
1163WINAPI
1166 _Out_ PULONG pulNumLanguages,
1167 _Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer,
1168 _Inout_ PULONG pcchLanguagesBuffer);
1169
1170BOOL
1171WINAPI
1174 _Out_ PULONG pulNumLanguages,
1175 _Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer,
1176 _Inout_ PULONG pcchLanguagesBuffer);
1177
1178BOOL
1179WINAPI
1182 _Out_ PULONG pulNumLanguages,
1183 _Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer,
1184 _Inout_ PULONG pcchLanguagesBuffer);
1185
1187
1188BOOL
1189WINAPI
1192 _In_ PCZZWSTR pwmszLanguage,
1193 _Out_writes_opt_(*pcchFallbackLanguages) PZZWSTR pwszFallbackLanguages,
1194 _Inout_opt_ PDWORD pcchFallbackLanguages,
1195 _Out_ PDWORD pAttributes);
1196
1197BOOL
1198WINAPI
1201 _Out_ PULONG pulNumLanguages,
1202 _Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer,
1203 _Inout_ PULONG pcchLanguagesBuffer);
1204
1205int
1206WINAPI
1209 _In_reads_(cchUnicodeChar) LPCWSTR lpUnicodeCharStr,
1210 _In_ int cchUnicodeChar,
1211 _Out_writes_opt_(cchASCIIChar) LPWSTR lpASCIICharStr,
1212 _In_ int cchASCIIChar);
1213
1214int
1215WINAPI
1218 _In_reads_(cchUnicodeChar) LPCWSTR lpUnicodeCharStr,
1219 _In_ int cchUnicodeChar,
1220 _Out_writes_opt_(cchNameprepChar) LPWSTR lpNameprepCharStr,
1221 _In_ int cchNameprepChar);
1222
1223int
1224WINAPI
1227 _In_reads_(cchASCIIChar) LPCWSTR lpASCIICharStr,
1228 _In_ int cchASCIIChar,
1229 _Out_writes_opt_(cchUnicodeChar) LPWSTR lpUnicodeCharStr,
1230 _In_ int cchUnicodeChar);
1231
1232BOOL
1233WINAPI
1235 _In_ NORM_FORM NormForm,
1236 _In_reads_(cwLength) LPCWSTR lpString,
1237 _In_ int cwLength);
1238
1239int
1240WINAPI
1242 _In_ NORM_FORM NormForm,
1243 _In_reads_(cwSrcLength) LPCWSTR lpSrcString,
1244 _In_ int cwSrcLength,
1245 _Out_writes_opt_(cwDstLength) LPWSTR lpDstString,
1246 _In_ int cwDstLength);
1247
1248int
1249WINAPI
1252 _In_ LPCWSTR lpString,
1253 _In_ int cchString,
1254 _Out_writes_opt_(cchScripts) LPWSTR lpScripts,
1255 _In_ int cchScripts);
1256
1260
1261#if (WINVER >= _WIN32_WINNT_WIN8)
1263#else
1265#endif
1269int
1270WINAPI
1272 _In_opt_ LPCWSTR lpLocaleName,
1281
1283
1285
1286#endif /* (WINVER >= 0x0600) */
1287
1289int
1290WINAPI
1292 _In_ LCID Locale,
1294 _In_ int cchName,
1296
1297#ifdef UNICODE
1298#define CALINFO_ENUMPROC CALINFO_ENUMPROCW
1299#define CALINFO_ENUMPROCEX CALINFO_ENUMPROCEXW
1300#define LOCALE_ENUMPROC LOCALE_ENUMPROCW
1301#define CODEPAGE_ENUMPROC CODEPAGE_ENUMPROCW
1302#define DATEFMT_ENUMPROC DATEFMT_ENUMPROCW
1303#define DATEFMT_ENUMPROCEX DATEFMT_ENUMPROCEXW
1304#define TIMEFMT_ENUMPROC TIMEFMT_ENUMPROCW
1305#define LANGUAGEGROUP_ENUMPROC LANGUAGEGROUP_ENUMPROCW
1306#define LANGGROUPLOCALE_ENUMPROC LANGGROUPLOCALE_ENUMPROCW
1307#define UILANGUAGE_ENUMPROC UILANGUAGE_ENUMPROCW
1308typedef CPINFOEXW CPINFOEX;
1309typedef LPCPINFOEXW LPCPINFOEX;
1312typedef NUMBERFMTW NUMBERFMT;
1314#define CompareString CompareStringW
1315#define EnumCalendarInfo EnumCalendarInfoW
1316#define EnumDateFormats EnumDateFormatsW
1317#define EnumSystemCodePages EnumSystemCodePagesW
1318#define EnumSystemLocales EnumSystemLocalesW
1319#define EnumTimeFormats EnumTimeFormatsW
1320#define FoldString FoldStringW
1321#define GetCalendarInfo GetCalendarInfoW
1322#define GetCPInfoEx GetCPInfoExW
1323#define GetCurrencyFormat GetCurrencyFormatW
1324#define GetDateFormat GetDateFormatW
1325#define GetGeoInfo GetGeoInfoW
1326#define GetLocaleInfo GetLocaleInfoW
1327#define GetNumberFormat GetNumberFormatW
1328#define GetStringTypeEx GetStringTypeExW
1329#define GetTimeFormat GetTimeFormatW
1330#define LCMapString LCMapStringW
1331#define SetCalendarInfo SetCalendarInfoW
1332#define SetLocaleInfo SetLocaleInfoW
1333#if (WINVER >= 0x0500)
1334#define EnumCalendarInfoEx EnumCalendarInfoExW
1335#define EnumDateFormatsEx EnumDateFormatsExW
1336#define EnumSystemLanguageGroups EnumSystemLanguageGroupsW
1337#define EnumLanguageGroupLocales EnumLanguageGroupLocalesW
1338#define EnumUILanguages EnumUILanguagesW
1339#endif /* (WINVER >= 0x0500) */
1340#else
1341#define CALINFO_ENUMPROC CALINFO_ENUMPROCA
1342#define CALINFO_ENUMPROCEX CALINFO_ENUMPROCEXA
1343#define LOCALE_ENUMPROC LOCALE_ENUMPROCA
1344#define CODEPAGE_ENUMPROC CODEPAGE_ENUMPROCA
1345#define DATEFMT_ENUMPROC DATEFMT_ENUMPROCA
1346#define DATEFMT_ENUMPROCEX DATEFMT_ENUMPROCEXA
1347#define TIMEFMT_ENUMPROC TIMEFMT_ENUMPROCA
1348#define LANGUAGEGROUP_ENUMPROC LANGUAGEGROUP_ENUMPROCA
1349#define LANGGROUPLOCALE_ENUMPROC LANGGROUPLOCALE_ENUMPROCA
1350#define UILANGUAGE_ENUMPROC UILANGUAGE_ENUMPROCA
1357#define CompareString CompareStringA
1358#define EnumCalendarInfo EnumCalendarInfoA
1359#define EnumDateFormats EnumDateFormatsA
1360#define EnumSystemCodePages EnumSystemCodePagesA
1361#define EnumSystemLocales EnumSystemLocalesA
1362#define EnumTimeFormats EnumTimeFormatsA
1363#define FoldString FoldStringA
1364#define GetCalendarInfo GetCalendarInfoA
1365#define GetCPInfoEx GetCPInfoExA
1366#define GetCurrencyFormat GetCurrencyFormatA
1367#define GetDateFormat GetDateFormatA
1368#define GetGeoInfo GetGeoInfoA
1369#define GetLocaleInfo GetLocaleInfoA
1370#define GetNumberFormat GetNumberFormatA
1371#define GetStringTypeEx GetStringTypeExA
1372#define GetTimeFormat GetTimeFormatA
1373#define LCMapString LCMapStringA
1374#define SetCalendarInfo SetCalendarInfoA
1375#define SetLocaleInfo SetLocaleInfoA
1376#if (WINVER >= 0x0500)
1377#define EnumCalendarInfoEx EnumCalendarInfoExA
1378#define EnumDateFormatsEx EnumDateFormatsExA
1379#define EnumSystemLanguageGroups EnumSystemLanguageGroupsA
1380#define EnumLanguageGroupLocales EnumLanguageGroupLocalesA
1381#define EnumUILanguages EnumUILanguagesA
1382#endif /* (WINVER >= 0x0500) */
1383#endif /* UNICODE */
1384#endif /* RC_INVOKED */
1385
1386#ifdef _MSC_VER
1387#pragma warning(pop)
1388#endif
1389
1390#ifdef __cplusplus
1391}
1392#endif
1393
1394#ifndef NOAPISET
1395#include <stringapiset.h>
1396#endif
1397
1398#endif
_In_ CDROM_SCAN_FOR_SPECIAL_INFO _In_ PCDROM_SCAN_FOR_SPECIAL_HANDLER Function
Definition: cdrom.h:1156
LPARAM lParam
Definition: combotst.c:139
_In_ int cchLocaleName
#define FALSE
Definition: types.h:117
#define MAX_PATH
Definition: compat.h:34
#define CALLBACK
Definition: compat.h:35
#define WideCharToMultiByte
Definition: compat.h:111
#define MultiByteToWideChar
Definition: compat.h:110
BOOL WINAPI EnumSystemLanguageGroupsW(LANGUAGEGROUP_ENUMPROCW pLangGrpEnumProc, DWORD dwFlags, LONG_PTR lParam)
Definition: locale.c:4505
BOOL WINAPI IsValidLanguageGroup(LGRPID lgrpid, DWORD dwFlags)
Definition: locale.c:4533
LANGID WINAPI GetUserDefaultUILanguage(void)
Definition: locale.c:1380
BOOL WINAPI EnumUILanguagesW(UILANGUAGE_ENUMPROCW pUILangEnumProc, DWORD dwFlags, LONG_PTR lParam)
Definition: locale.c:4882
INT WINAPI LCMapStringEx(LPCWSTR locale, DWORD flags, LPCWSTR src, INT srclen, LPWSTR dst, INT dstlen, LPNLSVERSIONINFO version, LPVOID reserved, LPARAM handle)
Definition: locale.c:3746
LANGID WINAPI GetSystemDefaultUILanguage(void)
Definition: locale.c:1400
INT WINAPI GetSystemDefaultLocaleName(LPWSTR localename, INT len)
Definition: locale.c:1246
BOOL WINAPI EnumLanguageGroupLocalesW(LANGGROUPLOCALE_ENUMPROCW pLangGrpLcEnumProc, LGRPID lgrpid, DWORD dwFlags, LONG_PTR lParam)
Definition: locale.c:4705
BOOL WINAPI EnumUILanguagesA(UILANGUAGE_ENUMPROCA pUILangEnumProc, DWORD dwFlags, LONG_PTR lParam)
Definition: locale.c:4854
BOOL WINAPI EnumLanguageGroupLocalesA(LANGGROUPLOCALE_ENUMPROCA pLangGrpLcEnumProc, LGRPID lgrpid, DWORD dwFlags, LONG_PTR lParam)
Definition: locale.c:4684
BOOL WINAPI EnumSystemLanguageGroupsA(LANGUAGEGROUP_ENUMPROCA pLangGrpEnumProc, DWORD dwFlags, LONG_PTR lParam)
Definition: locale.c:4485
BOOL WINAPI DECLSPEC_HOTPATCH EnumDateFormatsExEx(DATEFMT_ENUMPROCEXEX proc, const WCHAR *locale, DWORD flags, LPARAM lparam)
Definition: locale.c:4975
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
#define WINBASEAPI
Definition: green.h:8
unsigned int UINT
Definition: sysinfo.c:13
BOOL WINAPI GetFileMUIInfo(DWORD dwFlags, PCWSTR pcwszFilePath, PFILEMUIINFO pFileMUIInfo, DWORD *pcbFileMUIInfo)
Definition: vista.c:587
BOOL WINAPI EnumDateFormatsExA(DATEFMT_ENUMPROCEXA proc, LCID lcid, DWORD flags)
Definition: lcformat.c:1788
BOOL WINAPI EnumCalendarInfoExW(CALINFO_ENUMPROCEXW calinfoproc, LCID locale, CALID calendar, CALTYPE caltype)
Definition: lcformat.c:2101
BOOL WINAPI EnumDateFormatsExW(DATEFMT_ENUMPROCEXW proc, LCID lcid, DWORD flags)
Definition: lcformat.c:1804
BOOL WINAPI EnumCalendarInfoExA(CALINFO_ENUMPROCEXA calinfoproc, LCID locale, CALID calendar, CALTYPE caltype)
Definition: lcformatansi.c:295
USHORT LANGID
Definition: mui.h:9
ULONG GEOID
Definition: mui.h:28
LONG_PTR LPARAM
Definition: minwindef.h:175
BOOL * LPBOOL
Definition: minwindef.h:138
int * LPINT
Definition: minwindef.h:151
static LPCWSTR lpStringSource
Definition: locale.c:97
__int3264 LONG_PTR
Definition: mstsclib_h.h:276
_In_ LPWSTR _In_ DWORD _In_ DWORD _In_ DWORD dwFlags
Definition: netsh.h:141
#define _In_reads_(s)
Definition: no_sal2.h:168
#define _Out_opt_
Definition: no_sal2.h:214
#define _Inout_
Definition: no_sal2.h:162
#define _Success_(c)
Definition: no_sal2.h:84
#define _At_(t, a)
Definition: no_sal2.h:40
#define _Out_writes_opt_(s)
Definition: no_sal2.h:226
#define _Out_writes_bytes_opt_(s)
Definition: no_sal2.h:228
#define _Inout_opt_
Definition: no_sal2.h:216
#define _Out_writes_(s)
Definition: no_sal2.h:176
#define _Out_
Definition: no_sal2.h:160
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
#define _Inout_updates_bytes_to_opt_(s, c)
Definition: no_sal2.h:248
#define _Inout_updates_opt_(s)
Definition: no_sal2.h:232
#define _When_(c, a)
Definition: no_sal2.h:38
#define BOOL
Definition: nt_native.h:43
#define DWORD
Definition: nt_native.h:44
__GNU_EXTENSION typedef unsigned __int64 * PULONGLONG
Definition: ntbasedef.h:395
_NullNull_terminated_ WCHAR * PZZWSTR
Definition: ntbasedef.h:432
_NullNull_terminated_ CONST WCHAR * PCZZWSTR
Definition: ntbasedef.h:433
short WCHAR
Definition: pedump.c:58
DWORD * PDWORD
Definition: pedump.c:68
char CHAR
Definition: pedump.c:57
DWORD LCID
Definition: nls.h:13
DWORD dwTypeNameMainOffset
Definition: winnls.h:751
DWORD dwTypeIDMUISize
Definition: winnls.h:752
DWORD dwTypeIDMUIOffset
Definition: winnls.h:753
DWORD dwFileType
Definition: winnls.h:745
DWORD dwSize
Definition: winnls.h:743
BYTE abBuffer[8]
Definition: winnls.h:755
DWORD dwVersion
Definition: winnls.h:744
DWORD dwTypeIDMainSize
Definition: winnls.h:749
DWORD dwTypeIDMainOffset
Definition: winnls.h:750
BYTE pChecksum[16]
Definition: winnls.h:746
DWORD dwTypeNameMUIOffset
Definition: winnls.h:754
DWORD dwLanguageNameOffset
Definition: winnls.h:748
BYTE pServiceChecksum[16]
Definition: winnls.h:747
BYTE LeadByte[MAX_LEADBYTES]
Definition: winnls.h:663
BYTE DefaultChar[MAX_DEFAULTCHAR]
Definition: winnls.h:662
UINT MaxCharSize
Definition: winnls.h:661
UINT MaxCharSize
Definition: winnls.h:666
BYTE DefaultChar[MAX_DEFAULTCHAR]
Definition: winnls.h:667
WCHAR UnicodeDefaultChar
Definition: winnls.h:669
BYTE LeadByte[MAX_LEADBYTES]
Definition: winnls.h:668
CHAR CodePageName[MAX_PATH]
Definition: winnls.h:671
UINT CodePage
Definition: winnls.h:670
WCHAR UnicodeDefaultChar
Definition: winnls.h:677
BYTE DefaultChar[MAX_DEFAULTCHAR]
Definition: winnls.h:675
WCHAR CodePageName[MAX_PATH]
Definition: winnls.h:679
UINT MaxCharSize
Definition: winnls.h:674
BYTE LeadByte[MAX_LEADBYTES]
Definition: winnls.h:676
UINT CodePage
Definition: winnls.h:678
UINT LeadingZero
Definition: winnls.h:683
UINT Grouping
Definition: winnls.h:684
LPSTR lpThousandSep
Definition: winnls.h:686
LPSTR lpDecimalSep
Definition: winnls.h:685
UINT PositiveOrder
Definition: winnls.h:688
UINT NegativeOrder
Definition: winnls.h:687
LPSTR lpCurrencySymbol
Definition: winnls.h:689
UINT NumDigits
Definition: winnls.h:682
UINT LeadingZero
Definition: winnls.h:693
LPWSTR lpDecimalSep
Definition: winnls.h:695
UINT NumDigits
Definition: winnls.h:692
LPWSTR lpCurrencySymbol
Definition: winnls.h:699
UINT PositiveOrder
Definition: winnls.h:698
UINT Grouping
Definition: winnls.h:694
UINT NegativeOrder
Definition: winnls.h:697
LPWSTR lpThousandSep
Definition: winnls.h:696
DWORD dwNLSVersionInfoSize
Definition: winnls.h:702
DWORD dwNLSVersion
Definition: winnls.h:703
GUID guidCustomVersion
Definition: winnls.h:707
DWORD dwDefinedVersion
Definition: winnls.h:704
DWORD dwEffectiveId
Definition: winnls.h:706
DWORD dwEffectiveId
Definition: winnls.h:714
DWORD dwNLSVersionInfoSize
Definition: winnls.h:711
GUID guidCustomVersion
Definition: winnls.h:715
DWORD dwNLSVersion
Definition: winnls.h:712
DWORD dwDefinedVersion
Definition: winnls.h:713
UINT LeadingZero
Definition: winnls.h:719
UINT NegativeOrder
Definition: winnls.h:723
LPSTR lpDecimalSep
Definition: winnls.h:721
LPSTR lpThousandSep
Definition: winnls.h:722
UINT Grouping
Definition: winnls.h:720
UINT NumDigits
Definition: winnls.h:718
UINT NumDigits
Definition: winnls.h:726
LPWSTR lpDecimalSep
Definition: winnls.h:729
UINT Grouping
Definition: winnls.h:728
UINT NegativeOrder
Definition: winnls.h:731
LPWSTR lpThousandSep
Definition: winnls.h:730
UINT LeadingZero
Definition: winnls.h:727
LPCWSTR lpFormat
Definition: trayclock.cpp:32
uint16_t * PWSTR
Definition: typedefs.h:56
const char * LPCSTR
Definition: typedefs.h:52
uint32_t * PULONG
Definition: typedefs.h:59
const uint16_t * PCWSTR
Definition: typedefs.h:57
const uint16_t * LPCWSTR
Definition: typedefs.h:57
unsigned char * LPBYTE
Definition: typedefs.h:53
uint16_t * LPWSTR
Definition: typedefs.h:56
uint16_t * LPWORD
Definition: typedefs.h:56
uint32_t * LPDWORD
Definition: typedefs.h:59
char * LPSTR
Definition: typedefs.h:51
int32_t INT
Definition: typedefs.h:58
_In_ LPCSTR lpName
Definition: winbase.h:2519
_In_ PSID _Out_writes_to_opt_ cchName LPSTR _Inout_ LPDWORD cchName
Definition: winbase.h:2497
#define WINAPI
Definition: msvc.h:6
BOOL WINAPI GetThreadPreferredUILanguages(_In_ DWORD dwFlags, _Out_ PULONG pulNumLanguages, _Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer, _Inout_ PULONG pcchLanguagesBuffer)
CPINFOEXA CPINFOEX
Definition: winnls.h:1351
LCID WINAPI GetThreadLocale(void)
Definition: locale.c:2803
struct _currencyfmtA CURRENCYFMTA
_In_ DWORD _In_ int _In_ int _In_opt_ LPNLSVERSIONINFO _In_opt_ LPVOID lpReserved
Definition: winnls.h:1279
BOOL WINAPI GetProcessPreferredUILanguages(_In_ DWORD dwFlags, _Out_ PULONG pulNumLanguages, _Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer, _Inout_ PULONG pcchLanguagesBuffer)
_NORM_FORM
Definition: winnls.h:734
@ NormalizationOther
Definition: winnls.h:735
@ NormalizationKC
Definition: winnls.h:738
@ NormalizationKD
Definition: winnls.h:739
@ NormalizationD
Definition: winnls.h:737
@ NormalizationC
Definition: winnls.h:736
CURRENCYFMTA CURRENCYFMT
Definition: winnls.h:1353
DWORD LGRPID
Definition: winnls.h:595
struct _numberfmtW NUMBERFMTW
BOOL(CALLBACK * LOCALE_ENUMPROCEX)(LPWSTR, DWORD, LPARAM)
Definition: winnls.h:614
BOOL WINAPI EnumCalendarInfoW(_In_ CALINFO_ENUMPROCW, _In_ LCID, _In_ CALID, _In_ CALTYPE)
BOOL(CALLBACK * LANGGROUPLOCALE_ENUMPROCA)(LGRPID, LCID, LPSTR, LONG_PTR)
Definition: winnls.h:608
enum _NORM_FORM NORM_FORM
int WINAPI GetStringScripts(_In_ DWORD dwFlags, _In_ LPCWSTR lpString, _In_ int cchString, _Out_writes_opt_(cchScripts) LPWSTR lpScripts, _In_ int cchScripts)
BOOL WINAPI IsNormalizedString(_In_ NORM_FORM NormForm, _In_reads_(cwLength) LPCWSTR lpString, _In_ int cwLength)
int WINAPI GetCalendarInfoA(_In_ LCID Locale, _In_ CALID Calendar, _In_ CALTYPE CalType, _Out_writes_opt_(cchData) LPSTR lpCalData, _In_ int cchData, _Out_opt_ LPDWORD lpValue)
BOOL WINAPI EnumSystemCodePagesW(_In_ CODEPAGE_ENUMPROCW, _In_ DWORD)
WINBASEAPI int WINAPI FindNLSStringEx(_In_opt_ LPCWSTR lpLocaleName, _In_ DWORD dwFindNLSStringFlags, _In_reads_(cchSource) LPCWSTR lpStringSource, _In_ int cchSource, _In_reads_(cchValue) LPCWSTR lpStringValue, _In_ int cchValue, _Out_opt_ LPINT pcchFound, _In_opt_ LPNLSVERSIONINFO lpVersionInformation, _In_opt_ LPVOID lpReserved, _In_opt_ LPARAM sortHandle)
BOOL WINAPI GetStringTypeExW(_In_ LCID Locale, _In_ DWORD dwInfoType, _In_reads_(cchSrc) LPCWSTR lpSrcStr, _In_ int cchSrc, _Out_writes_(cchSrc) LPWORD lpCharType)
int WINAPI GetCalendarInfoW(_In_ LCID Locale, _In_ CALID Calendar, _In_ CALTYPE CalType, _Out_writes_opt_(cchData) LPWSTR lpCalData, _In_ int cchData, _Out_opt_ LPDWORD lpValue)
DWORD CALID
Definition: winnls.h:594
WINBASEAPI int WINAPI LCIDToLocaleName(_In_ LCID Locale, _Out_writes_opt_(cchName) LPWSTR lpName, _In_ int cchName, _In_ DWORD dwFlags)
struct _numberfmtA * LPNUMBERFMTA
int WINAPI IdnToNameprepUnicode(_In_ DWORD dwFlags, _In_reads_(cchUnicodeChar) LPCWSTR lpUnicodeCharStr, _In_ int cchUnicodeChar, _Out_writes_opt_(cchNameprepChar) LPWSTR lpNameprepCharStr, _In_ int cchNameprepChar)
BOOL WINAPI VerifyScripts(_In_ DWORD, _In_ LPCWSTR, _In_ int, _In_ LPCWSTR, _In_ int)
BOOL WINAPI GetNLSVersion(_In_ NLS_FUNCTION, _In_ LCID, _Inout_ LPNLSVERSIONINFO)
int WINAPI SetCalendarInfoW(_In_ LCID, _In_ CALID, _In_ CALTYPE, _In_ LPCWSTR)
struct _FILEMUIINFO * PFILEMUIINFO
UINT WINAPI GetACP(void)
Definition: locale.c:2023
BOOL(CALLBACK * CALINFO_ENUMPROCW)(LPWSTR)
Definition: winnls.h:603
struct _cpinfoexA CPINFOEXA
struct _cpinfoexA * LPCPINFOEXA
BOOL WINAPI SetLocaleInfoA(_In_ LCID, _In_ LCTYPE, _In_ LPCSTR)
struct _cpinfoexW * LPCPINFOEXW
int WINAPI GetNumberFormatA(_In_ LCID Locale, _In_ DWORD dwFlags, _In_ LPCSTR lpValue, _In_opt_ const NUMBERFMTA *lpFormat, _Out_writes_opt_(cchNumber) LPSTR lpNumberStr, _In_ int cchNumber)
int WINAPI GetNumberFormatW(_In_ LCID Locale, _In_ DWORD dwFlags, _In_ LPCWSTR lpValue, _In_opt_ const NUMBERFMTW *lpFormat, _Out_writes_opt_(cchNumber) LPWSTR lpNumberStr, _In_ int cchNumber)
LPCPINFOEXA LPCPINFOEX
Definition: winnls.h:1352
SYSGEOTYPE
Definition: winnls.h:637
@ GEO_ISO3
Definition: winnls.h:642
@ GEO_NAME
Definition: winnls.h:655
@ GEO_OFFICIALLANGUAGES
Definition: winnls.h:648
@ GEO_CURRENCYCODE
Definition: winnls.h:652
@ GEO_OFFICIALNAME
Definition: winnls.h:646
@ GEO_CURRENCYSYMBOL
Definition: winnls.h:653
@ GEO_TIMEZONES
Definition: winnls.h:647
@ GEO_FRIENDLYNAME
Definition: winnls.h:645
@ GEO_LONGITUDE
Definition: winnls.h:640
@ GEO_ISO_UN_NUMBER
Definition: winnls.h:649
@ GEO_DIALINGCODE
Definition: winnls.h:651
@ GEO_PARENT
Definition: winnls.h:650
@ GEO_ISO2
Definition: winnls.h:641
@ GEO_LATITUDE
Definition: winnls.h:639
@ GEO_ID
Definition: winnls.h:656
@ GEO_NATION
Definition: winnls.h:638
@ GEO_LCID
Definition: winnls.h:644
@ GEO_RFC1766
Definition: winnls.h:643
LANGID WINAPI SetThreadUILanguage(_In_ LANGID)
struct _currencyfmtW * LPCURRENCYFMTW
BOOL(CALLBACK * TIMEFMT_ENUMPROCEX)(LPWSTR, LPARAM)
Definition: winnls.h:601
#define LCMAP_SORTHANDLE
Definition: winnls.h:214
BOOL(CALLBACK * UILANGUAGE_ENUMPROCW)(LPWSTR, LONG_PTR)
Definition: winnls.h:610
_In_ DWORD _In_ int _In_ int _In_opt_ LPNLSVERSIONINFO _In_opt_ LPVOID _In_opt_ LPARAM sortHandle
Definition: winnls.h:1280
_In_ PCWSTR _Inout_updates_bytes_to_opt_ pcbFileMUIInfo PFILEMUIINFO _Inout_ DWORD * pcbFileMUIInfo
Definition: winnls.h:1134
LANGID WINAPI GetSystemDefaultLangID(void)
Definition: locale.c:1199
int WINAPI LCMapStringA(_In_ LCID Locale, _In_ DWORD dwMapFlags, _In_reads_(cchSrc) LPCSTR lpSrcStr, _In_ int cchSrc, _Out_writes_opt_(_Inexpressible_(cchDest)) LPSTR lpDestStr, _In_ int cchDest)
LCID WINAPI ConvertDefaultLocale(_In_ LCID)
LPNUMBERFMTA LPNUMBERFMT
Definition: winnls.h:1356
BOOL WINAPI EnumTimeFormatsA(_In_ TIMEFMT_ENUMPROCA, _In_ LCID, _In_ DWORD)
int WINAPI GetGeoInfoA(_In_ GEOID Location, _In_ GEOTYPE GeoType, _Out_writes_opt_(cchData) LPSTR lpGeoData, _In_ int cchData, _In_ LANGID LangId)
struct _numberfmtW * LPNUMBERFMTW
struct _currencyfmtA * LPCURRENCYFMTA
BOOL WINAPI GetFileMUIPath(_In_ DWORD dwFlags, _In_ PCWSTR pcwszFilePath, _Inout_updates_opt_(*pcchLanguage) PWSTR pwszLanguage, _Inout_ PULONG pcchLanguage, _Out_writes_opt_(*pcchFileMUIPath) PWSTR pwszFileMUIPath, _Inout_ PULONG pcchFileMUIPath, _Inout_ PULONGLONG pululEnumerator)
LPCURRENCYFMTA LPCURRENCYFMT
Definition: winnls.h:1354
struct _nlsversioninfoex * LPNLSVERSIONINFOEX
BOOL(CALLBACK * DATEFMT_ENUMPROCW)(LPWSTR)
Definition: winnls.h:618
BOOL WINAPI IsValidCodePage(_In_ UINT)
BOOL WINAPI GetCPInfoExW(_In_ UINT, _In_ DWORD, _Out_ LPCPINFOEXW)
_In_ PCWSTR _Inout_updates_bytes_to_opt_ pcbFileMUIInfo PFILEMUIINFO pFileMUIInfo
Definition: winnls.h:1133
int WINAPI GetGeoInfoW(_In_ GEOID Location, _In_ GEOTYPE GeoType, _Out_writes_opt_(cchData) LPWSTR lpGeoData, _In_ int cchData, _In_ LANGID LangId)
BOOL WINAPI EnumSystemGeoID(_In_ GEOCLASS, _In_ GEOID, _In_ GEO_ENUMPROC)
struct _numberfmtA NUMBERFMTA
BOOL(CALLBACK * DATEFMT_ENUMPROCEXEX)(LPWSTR, CALID, LPARAM)
Definition: winnls.h:600
struct _currencyfmtW CURRENCYFMTW
BOOL WINAPI EnumCalendarInfoA(_In_ CALINFO_ENUMPROCA, _In_ LCID, _In_ CALID, _In_ CALTYPE)
DWORD CALTYPE
Definition: winnls.h:593
WINBASEAPI BOOL WINAPI EnumSystemLocalesEx(_In_ LOCALE_ENUMPROCEX lpLocaleEnumProcEx, _In_ DWORD dwFlags, _In_ LPARAM lParam, _In_opt_ LPVOID lpReserved)
BOOL WINAPI GetCPInfo(_In_ UINT, _Out_ LPCPINFO)
_In_ DWORD _In_ int _In_ int _In_opt_ LPNLSVERSIONINFO lpVersionInformation
Definition: winnls.h:1278
int WINAPI GetDateFormatEx(LPCWSTR, DWORD, const SYSTEMTIME *, LPCWSTR, LPWSTR, int, LPCWSTR)
BOOL(CALLBACK * CALINFO_ENUMPROCA)(LPSTR)
Definition: winnls.h:602
BOOL(CALLBACK * GEO_ENUMPROC)(GEOID)
Definition: winnls.h:623
BOOL(CALLBACK * LANGGROUPLOCALE_ENUMPROCW)(LGRPID, LCID, LPWSTR, LONG_PTR)
Definition: winnls.h:609
BOOL(CALLBACK * CODEPAGE_ENUMPROCA)(LPSTR)
Definition: winnls.h:615
BOOL(CALLBACK * TIMEFMT_ENUMPROCA)(LPSTR)
Definition: winnls.h:621
#define MAX_DEFAULTCHAR
Definition: winnls.h:15
BOOL(CALLBACK * LANGUAGEGROUP_ENUMPROCW)(LGRPID, LPWSTR, LPWSTR, DWORD, LONG_PTR)
Definition: winnls.h:607
_In_ DWORD _In_ int _In_ int cchDest
Definition: winnls.h:1277
BOOL WINAPI EnumDateFormatsW(_In_ DATEFMT_ENUMPROCW, _In_ LCID, _In_ DWORD)
_In_ DWORD dwMapFlags
Definition: winnls.h:1273
int WINAPI GetLocaleInfoW(_In_ LCID Locale, _In_ LCTYPE LCType, _Out_writes_opt_(cchData) LPWSTR lpLCData, _In_ int cchData)
#define LCMAP_HASH
Definition: winnls.h:206
#define LCMAP_SORTKEY
Definition: winnls.h:204
BOOL(CALLBACK * CALINFO_ENUMPROCEXA)(LPSTR, CALID)
Definition: winnls.h:604
BOOL WINAPI SetUserGeoID(_In_ GEOID)
int WINAPI GetTimeFormatW(LCID, DWORD, const SYSTEMTIME *, LPCWSTR, LPWSTR, int)
BOOL WINAPI EnumTimeFormatsW(_In_ TIMEFMT_ENUMPROCW, _In_ LCID, _In_ DWORD)
BOOL WINAPI IsDBCSLeadByteEx(_In_ UINT, _In_ BYTE)
struct _nlsversioninfo * LPNLSVERSIONINFO
Definition: locale.c:80
WINBASEAPI INT WINAPI CompareStringOrdinal(const WCHAR *, INT, const WCHAR *, INT, BOOL)
Definition: vista.c:749
BOOL WINAPI GetCPInfoExA(_In_ UINT, _In_ DWORD, _Out_ LPCPINFOEXA)
BOOL WINAPI EnumDateFormatsA(_In_ DATEFMT_ENUMPROCA, _In_ LCID, _In_ DWORD)
BOOL WINAPI SetThreadPreferredUILanguages(_In_ DWORD, _In_opt_ PCZZWSTR, _Out_opt_ PULONG)
BOOL(CALLBACK * LOCALE_ENUMPROCA)(LPSTR)
Definition: winnls.h:612
int WINAPI SetCalendarInfoA(_In_ LCID, _In_ CALID, _In_ CALTYPE, _In_ LPCSTR)
int WINAPI FoldStringA(_In_ DWORD dwMapFlags, _In_reads_(cchSrc) LPCSTR lpSrcStr, _In_ int cchSrc, _Out_writes_opt_(cchDest) LPSTR lpDestStr, _In_ int cchDest)
DWORD GEOCLASS
Definition: winnls.h:598
BOOL WINAPI GetSystemPreferredUILanguages(_In_ DWORD dwFlags, _Out_ PULONG pulNumLanguages, _Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer, _Inout_ PULONG pcchLanguagesBuffer)
struct _nlsversioninfo NLSVERSIONINFO
int WINAPI GetDateFormatA(LCID, DWORD, const SYSTEMTIME *, LPCSTR, LPSTR, int)
BOOL WINAPI GetUserPreferredUILanguages(_In_ DWORD dwFlags, _Out_ PULONG pulNumLanguages, _Out_writes_opt_(*pcchLanguagesBuffer) PZZWSTR pwszLanguagesBuffer, _Inout_ PULONG pcchLanguagesBuffer)
struct _cpinfo CPINFO
DWORD GEOTYPE
Definition: winnls.h:597
GEOID WINAPI GetUserGeoID(_In_ GEOCLASS)
BOOL WINAPI SetThreadLocale(_In_ LCID)
int WINAPI CompareStringA(_In_ LCID Locale, _In_ DWORD dwCmpFlags, _In_reads_(cchCount1) LPCSTR lpString1, _In_ int cchCount1, _In_reads_(cchCount2) LPCSTR lpString2, _In_ int cchCount2)
WINBASEAPI int WINAPI GetUserDefaultLocaleName(_Out_writes_(cchLocaleName) LPWSTR lpLocaleName, _In_ int cchLocaleName)
int WINAPI GetCurrencyFormatA(_In_ LCID Locale, _In_ DWORD dwFlags, _In_ LPCSTR lpValue, _In_opt_ const CURRENCYFMTA *lpFormat, _Out_writes_opt_(cchCurrency) LPSTR lpCurrencyStr, _In_ int cchCurrency)
struct _cpinfo * LPCPINFO
int WINAPI LCMapStringW(_In_ LCID Locale, _In_ DWORD dwMapFlags, _In_reads_(cchSrc) LPCWSTR lpSrcStr, _In_ int cchSrc, _Out_writes_opt_(_Inexpressible_(cchDest)) LPWSTR lpDestStr, _In_ int cchDest)
BOOL WINAPI SetUserDefaultUILanguage(LANGID)
BOOL WINAPI GetNLSVersionEx(_In_ NLS_FUNCTION function, _In_ LPCWSTR lpLocaleName, _Inout_ LPNLSVERSIONINFOEX lpVersionInformation)
LCID WINAPI GetUserDefaultLCID(void)
Definition: locale.c:1216
BOOL WINAPI SetLocaleInfoW(_In_ LCID, _In_ LCTYPE, _In_ LPCWSTR)
BOOL WINAPI GetStringTypeA(_In_ LCID Locale, _In_ DWORD dwInfoType, _In_reads_(cchSrc) LPCSTR lpSrcStr, _In_ int cchSrc, _Out_ LPWORD lpCharType)
BOOL WINAPI GetStringTypeW(_In_ DWORD dwInfoType, _In_reads_(cchSrc) LPCWSTR lpSrcStr, _In_ int cchSrc, _Out_ LPWORD lpCharType)
BOOL WINAPI GetUILanguageInfo(_In_ DWORD dwFlags, _In_ PCZZWSTR pwmszLanguage, _Out_writes_opt_(*pcchFallbackLanguages) PZZWSTR pwszFallbackLanguages, _Inout_opt_ PDWORD pcchFallbackLanguages, _Out_ PDWORD pAttributes)
NUMBERFMTA NUMBERFMT
Definition: winnls.h:1355
_In_ PCWSTR pcwszFilePath
Definition: winnls.h:1132
BOOL(CALLBACK * LANGUAGEGROUP_ENUMPROCA)(LGRPID, LPSTR, LPSTR, DWORD, LONG_PTR)
Definition: winnls.h:606
LANGID WINAPI GetUserDefaultLangID(void)
Definition: locale.c:1182
LCID WINAPI GetSystemDefaultLCID(void)
Definition: locale.c:1235
WINBASEAPI BOOL WINAPI IsValidLocaleName(_In_ LPCWSTR lpLocaleName)
WINBASEAPI int WINAPI FindNLSString(_In_ LCID Locale, _In_ DWORD dwFindNLSStringFlags, _In_reads_(cchSource) LPCWSTR lpStringSource, _In_ int cchSource, _In_reads_(cchValue) LPCWSTR lpStringValue, _In_ int cchValue, _Out_opt_ LPINT pcchFound)
BOOL WINAPI EnumSystemLocalesA(_In_ LOCALE_ENUMPROCA, _In_ DWORD)
BOOL WINAPI IsValidLocale(_In_ LCID, _In_ DWORD)
long LONG_PTR
Definition: winnls.h:556
struct _nlsversioninfoex NLSVERSIONINFOEX
int WINAPI GetTimeFormatEx(LPCWSTR, DWORD, const SYSTEMTIME *, LPCWSTR, LPWSTR, int)
BOOL WINAPI IsNLSDefinedString(_In_ NLS_FUNCTION Function, _In_ DWORD dwFlags, _In_ LPNLSVERSIONINFO lpVersionInformation, _In_reads_(cchStr) LPCWSTR lpString, _In_ int cchStr)
BOOL(CALLBACK * DATEFMT_ENUMPROCEXW)(LPWSTR, CALID)
Definition: winnls.h:620
BOOL(CALLBACK * UILANGUAGE_ENUMPROCA)(LPSTR, LONG_PTR)
Definition: winnls.h:611
int WINAPI IdnToAscii(_In_ DWORD dwFlags, _In_reads_(cchUnicodeChar) LPCWSTR lpUnicodeCharStr, _In_ int cchUnicodeChar, _Out_writes_opt_(cchASCIIChar) LPWSTR lpASCIICharStr, _In_ int cchASCIIChar)
_In_ DWORD _In_ int cchSrc
Definition: winnls.h:1275
BOOL WINAPI GetStringTypeExA(_In_ LCID Locale, _In_ DWORD dwInfoType, _In_reads_(cchSrc) LPCSTR lpSrcStr, _In_ int cchSrc, _Out_writes_(cchSrc) LPWORD lpCharType)
BOOL(CALLBACK * TIMEFMT_ENUMPROCW)(LPWSTR)
Definition: winnls.h:622
DWORD LCTYPE
Definition: winnls.h:592
int WINAPI IdnToUnicode(_In_ DWORD dwFlags, _In_reads_(cchASCIIChar) LPCWSTR lpASCIICharStr, _In_ int cchASCIIChar, _Out_writes_opt_(cchUnicodeChar) LPWSTR lpUnicodeCharStr, _In_ int cchUnicodeChar)
int WINAPI GetLocaleInfoA(_In_ LCID Locale, _In_ LCTYPE LCType, _Out_writes_opt_(cchData) LPSTR lpLCData, _In_ int cchData)
int WINAPI FoldStringW(_In_ DWORD dwMapFlags, _In_reads_(cchSrc) LPCWSTR lpSrcStr, _In_ int cchSrc, _Out_writes_opt_(cchDest) LPWSTR lpDestStr, _In_ int cchDest)
int WINAPI GetDateFormatW(LCID, DWORD, const SYSTEMTIME *, LPCWSTR, LPWSTR, int)
BOOL(CALLBACK * CALINFO_ENUMPROCEXEX)(LPWSTR, CALID, LPWSTR, LPARAM)
Definition: winnls.h:599
int WINAPI GetTimeFormatA(LCID, DWORD, const SYSTEMTIME *, LPCSTR, LPSTR, int)
BOOL(CALLBACK * DATEFMT_ENUMPROCA)(LPSTR)
Definition: winnls.h:617
WINBASEAPI int WINAPI GetLocaleInfoEx(_In_opt_ LPCWSTR lpLocaleName, _In_ LCTYPE LCType, _Out_writes_opt_(cchData) LPWSTR lpLCData, _In_ int cchData)
BOOL(CALLBACK * DATEFMT_ENUMPROCEXA)(LPSTR, CALID)
Definition: winnls.h:619
BOOL(CALLBACK * LOCALE_ENUMPROCW)(LPWSTR)
Definition: winnls.h:613
BOOL WINAPI IsDBCSLeadByte(_In_ BYTE)
UINT WINAPI GetOEMCP(void)
Definition: locale.c:2062
int WINAPI CompareStringW(_In_ LCID Locale, _In_ DWORD dwCmpFlags, _In_reads_(cchCount1) LPCWSTR lpString1, _In_ int cchCount1, _In_reads_(cchCount2) LPCWSTR lpString2, _In_ int cchCount2)
#define LCMAP_BYTEREV
Definition: winnls.h:205
#define MAX_LEADBYTES
Definition: winnls.h:14
BOOL WINAPI SetUserDefaultLCID(LCID)
struct _FILEMUIINFO FILEMUIINFO
BOOL(CALLBACK * CALINFO_ENUMPROCEXW)(LPWSTR, CALID)
Definition: winnls.h:605
BOOL(CALLBACK * CODEPAGE_ENUMPROCW)(LPWSTR)
Definition: winnls.h:616
int WINAPI NormalizeString(_In_ NORM_FORM NormForm, _In_reads_(cwSrcLength) LPCWSTR lpSrcString, _In_ int cwSrcLength, _Out_writes_opt_(cwDstLength) LPWSTR lpDstString, _In_ int cwDstLength)
SYSGEOCLASS
Definition: winnls.h:629
@ GEOCLASS_REGION
Definition: winnls.h:631
@ GEOCLASS_NATION
Definition: winnls.h:632
@ GEOCLASS_ALL
Definition: winnls.h:630
BOOL WINAPI EnumSystemCodePagesA(_In_ CODEPAGE_ENUMPROCA, _In_ DWORD)
BOOL WINAPI SetProcessPreferredUILanguages(_In_ DWORD, _In_opt_ PCZZWSTR, _Out_opt_ PULONG)
LANGID WINAPI GetThreadUILanguage(void)
Definition: vista.c:672
struct _cpinfoexW CPINFOEXW
NLS_FUNCTION
Definition: winnls.h:625
@ COMPARE_STRING
Definition: winnls.h:626
int WINAPI GetCurrencyFormatW(_In_ LCID Locale, _In_ DWORD dwFlags, _In_ LPCWSTR lpValue, _In_opt_ const CURRENCYFMTW *lpFormat, _Out_writes_opt_(cchCurrency) LPWSTR lpCurrencyStr, _In_ int cchCurrency)
LCID WINAPI LocaleNameToLCID(_In_ LPCWSTR, _In_ DWORD)
DWORD GEOID
Definition: winnls.h:596
BOOL WINAPI EnumSystemLocalesW(_In_ LOCALE_ENUMPROCW, _In_ DWORD)
unsigned char BYTE
Definition: xxhash.c:193
#define const
Definition: zconf.h:233