4 * Copyright 1995 Martin von Loewis
7 /* At the moment, these are only empty stubs.
18 /***********************************************************************
19 * GetUserDefaultLCID (OLE2NLS.1)
21 DWORD
GetUserDefaultLCID()
23 /* Default sorting, neutral sublanguage */
24 switch(Options
.language
)
26 /* case LANG_Bu: return 0x02; */ /* Bulgarian */
27 /* case LANG_Ch: return 0x04; */ /* Chinese */
28 case LANG_Cz
: return 0x05; /* Czech */
29 case LANG_Da
: return 0x06; /* Danish */
30 case LANG_De
: return 0x07; /* German */
31 /* case LANG_Gr: return 0x08; */ /* Greek */
32 case LANG_En
: return 0x09; /* English */
33 case LANG_Es
: return 0x0a; /* Spanish */
34 case LANG_Fi
: return 0x0b; /* Finnish */
35 case LANG_Fr
: return 0x0c; /* French */
36 /* case LANG_Hu: return 0x0e; */ /* Hungarian */
37 /* case LANG_Ic: return 0x0f; */ /* Icelandic */
38 case LANG_It
: return 0x10; /* Italian */
39 /* case LANG_Jp: return 0x11; */ /* Japanese */
40 case LANG_Ko
: return 0x12; /* Korean */
41 /* case LANG_Du: return 0x13; */ /* Dutch */
42 case LANG_No
: return 0x14; /* Norwegian */
43 /* case LANG_Pl: return 0x15; */ /* Polish */
44 /* case LANG_Po: return 0x16; */ /* Portuguese */
45 /* case LANG_Ro: return 0x18; */ /* Romanian */
46 /* case LANG_Ru: return 0x19; */ /* Russian */
47 /* case LANG_Cr: return 0x1a; */ /* Croatian */
48 /* case LANG_Sl: return 0x1b; */ /* Slovak */
49 /* case LANG_Sw: return 0x1d; */ /* Swedish */
50 /* case LANG_Tu: return 0x1f; */ /* Turkish */
51 /* case LANG_Sv: return 0x24; */ /* Slovenian */
52 case LANG_Eo
: return 0x25; /* Esperanto (not official) */
55 return 0x00; /* Neutral language */
59 /***********************************************************************
60 * GetSystemDefaultLCID (OLE2NLS.2)
62 DWORD
GetSystemDefaultLCID()
64 return GetUserDefaultLCID();
67 /***********************************************************************
68 * GetUserDefaultLangID (OLE2NLS.3)
70 WORD
GetUserDefaultLangID()
72 return (WORD
)GetUserDefaultLCID();
75 /***********************************************************************
76 * GetSystemDefaultLangID (OLE2NLS.4)
78 WORD
GetSystemDefaultLangID()
80 return GetUserDefaultLangID();
83 /***********************************************************************
84 * GetLocaleInfoA (OLE2NLS.5)
85 * Is the last parameter really WORD for Win16?
87 int GetLocaleInfoA(DWORD lcid
,DWORD LCType
,LPSTR buf
,WORD len
)
91 dprintf_ole(stddeb
,"GetLocaleInfoA(%8lX,%8lX,%p,%4X)\n",
94 /* Wine is supporting only the default locale */
95 if(lcid
!=GetUserDefaultLCID())
97 dprintf_ole(stdnimp
,"GetLocaleInfoA: Unknown locale\n");
101 /* As an option, we could obtain the value from win.ini.
102 This would not match the Wine compile-time option.
103 Also, not all identifiers are available from win.ini */
106 /* If we are through all of this, retLen should not be zero anymore.
107 If it is, the value is not supported */
108 #define LOCVAL(type,value) if(type==LCType) \
109 {retLen=strlen(value)+1;\
112 #define UNSUPPORTED(type) if(type==lcid)retString=#type;
114 /* I really wish I would know a better way to do this */
115 UNSUPPORTED(LOCALE_ILANGUAGE
)
116 UNSUPPORTED(LOCALE_SLANGUAGE
)
117 UNSUPPORTED(LOCALE_SENGLANGUAGE
)
118 UNSUPPORTED(LOCALE_SABBREVLANGNAME
)
119 UNSUPPORTED(LOCALE_SNATIVELANGNAME
)
120 UNSUPPORTED(LOCALE_ICOUNTRY
)
121 UNSUPPORTED(LOCALE_SCOUNTRY
)
122 UNSUPPORTED(LOCALE_SENGCOUNTRY
)
123 UNSUPPORTED(LOCALE_SABBREVCTRYNAME
)
124 UNSUPPORTED(LOCALE_SNATIVECTRYNAME
)
125 UNSUPPORTED(LOCALE_IDEFAULTLANGUAGE
)
126 UNSUPPORTED(LOCALE_IDEFAULTCOUNTRY
)
127 UNSUPPORTED(LOCALE_IDEFAULTCODEPAGE
)
128 UNSUPPORTED(LOCALE_IDEFAULTANSICODEPAGE
)
129 UNSUPPORTED(LOCALE_SLIST
)
130 UNSUPPORTED(LOCALE_IMEASURE
)
131 UNSUPPORTED(LOCALE_SDECIMAL
)
132 UNSUPPORTED(LOCALE_STHOUSAND
)
133 UNSUPPORTED(LOCALE_SGROUPING
)
134 UNSUPPORTED(LOCALE_IDIGITS
)
135 UNSUPPORTED(LOCALE_ILZERO
)
136 UNSUPPORTED(LOCALE_INEGNUMBER
)
137 UNSUPPORTED(LOCALE_SNATIVEDIGITS
)
138 UNSUPPORTED(LOCALE_SCURRENCY
)
139 UNSUPPORTED(LOCALE_SINTLSYMBOL
)
140 UNSUPPORTED(LOCALE_SMONDECIMALSEP
)
141 UNSUPPORTED(LOCALE_SMONTHOUSANDSEP
)
142 UNSUPPORTED(LOCALE_SMONGROUPING
)
143 UNSUPPORTED(LOCALE_ICURRDIGITS
)
144 UNSUPPORTED(LOCALE_IINTLCURRDIGITS
)
145 UNSUPPORTED(LOCALE_ICURRENCY
)
146 UNSUPPORTED(LOCALE_INEGCURR
)
147 UNSUPPORTED(LOCALE_SDATE
)
148 UNSUPPORTED(LOCALE_STIME
)
149 UNSUPPORTED(LOCALE_SSHORTDATE
)
150 UNSUPPORTED(LOCALE_SLONGDATE
)
151 UNSUPPORTED(LOCALE_STIMEFORMAT
)
152 UNSUPPORTED(LOCALE_IDATE
)
153 UNSUPPORTED(LOCALE_ILDATE
)
154 UNSUPPORTED(LOCALE_ITIME
)
155 UNSUPPORTED(LOCALE_ITIMEMARKPOSN
)
156 UNSUPPORTED(LOCALE_ICENTURY
)
157 UNSUPPORTED(LOCALE_ITLZERO
)
158 UNSUPPORTED(LOCALE_IDAYLZERO
)
159 UNSUPPORTED(LOCALE_IMONLZERO
)
160 UNSUPPORTED(LOCALE_S1159
)
161 UNSUPPORTED(LOCALE_S2359
)
162 UNSUPPORTED(LOCALE_ICALENDARTYPE
)
163 UNSUPPORTED(LOCALE_IOPTIONALCALENDAR
)
164 UNSUPPORTED(LOCALE_IFIRSTDAYOFWEEK
)
165 UNSUPPORTED(LOCALE_IFIRSTWEEKOFYEAR
)
166 UNSUPPORTED(LOCALE_SDAYNAME1
)
167 UNSUPPORTED(LOCALE_SDAYNAME2
)
168 UNSUPPORTED(LOCALE_SDAYNAME3
)
169 UNSUPPORTED(LOCALE_SDAYNAME4
)
170 UNSUPPORTED(LOCALE_SDAYNAME5
)
171 UNSUPPORTED(LOCALE_SDAYNAME6
)
172 UNSUPPORTED(LOCALE_SDAYNAME7
)
173 UNSUPPORTED(LOCALE_SABBREVDAYNAME1
)
174 UNSUPPORTED(LOCALE_SABBREVDAYNAME2
)
175 UNSUPPORTED(LOCALE_SABBREVDAYNAME3
)
176 UNSUPPORTED(LOCALE_SABBREVDAYNAME4
)
177 UNSUPPORTED(LOCALE_SABBREVDAYNAME5
)
178 UNSUPPORTED(LOCALE_SABBREVDAYNAME6
)
179 UNSUPPORTED(LOCALE_SABBREVDAYNAME7
)
180 UNSUPPORTED(LOCALE_SMONTHNAME1
)
181 UNSUPPORTED(LOCALE_SMONTHNAME2
)
182 UNSUPPORTED(LOCALE_SMONTHNAME3
)
183 UNSUPPORTED(LOCALE_SMONTHNAME4
)
184 UNSUPPORTED(LOCALE_SMONTHNAME5
)
185 UNSUPPORTED(LOCALE_SMONTHNAME6
)
186 UNSUPPORTED(LOCALE_SMONTHNAME7
)
187 UNSUPPORTED(LOCALE_SMONTHNAME8
)
188 UNSUPPORTED(LOCALE_SMONTHNAME9
)
189 UNSUPPORTED(LOCALE_SMONTHNAME10
)
190 UNSUPPORTED(LOCALE_SMONTHNAME11
)
191 UNSUPPORTED(LOCALE_SMONTHNAME12
)
192 UNSUPPORTED(LOCALE_SMONTHNAME13
)
193 UNSUPPORTED(LOCALE_SABBREVMONTHNAME1
)
194 UNSUPPORTED(LOCALE_SABBREVMONTHNAME2
)
195 UNSUPPORTED(LOCALE_SABBREVMONTHNAME3
)
196 UNSUPPORTED(LOCALE_SABBREVMONTHNAME4
)
197 UNSUPPORTED(LOCALE_SABBREVMONTHNAME5
)
198 UNSUPPORTED(LOCALE_SABBREVMONTHNAME6
)
199 UNSUPPORTED(LOCALE_SABBREVMONTHNAME7
)
200 UNSUPPORTED(LOCALE_SABBREVMONTHNAME8
)
201 UNSUPPORTED(LOCALE_SABBREVMONTHNAME9
)
202 UNSUPPORTED(LOCALE_SABBREVMONTHNAME10
)
203 UNSUPPORTED(LOCALE_SABBREVMONTHNAME11
)
204 UNSUPPORTED(LOCALE_SABBREVMONTHNAME12
)
205 UNSUPPORTED(LOCALE_SABBREVMONTHNAME13
)
206 UNSUPPORTED(LOCALE_SPOSITIVESIGN
)
207 UNSUPPORTED(LOCALE_SNEGATIVESIGN
)
208 UNSUPPORTED(LOCALE_IPOSSIGNPOSN
)
209 UNSUPPORTED(LOCALE_INEGSIGNPOSN
)
210 UNSUPPORTED(LOCALE_IPOSSYMPRECEDES
)
211 UNSUPPORTED(LOCALE_IPOSSEPBYSPACE
)
212 UNSUPPORTED(LOCALE_INEGSYMPRECEDES
)
213 UNSUPPORTED(LOCALE_INEGSEPBYSPACE
)
215 /* Now, the language specific definitions. They don't have to be
217 switch(Options
.language
)
220 /* This definitions apply to Germany only. Users in Austria
221 or Switzerland might want to modify them */
222 LOCVAL(LOCALE_ILANGUAGE
,"9")
223 LOCVAL(LOCALE_SLANGUAGE
,"Deutsch")
224 LOCVAL(LOCALE_SENGLANGUAGE
,"German")
225 LOCVAL(LOCALE_SABBREVLANGNAME
,"deu")
226 LOCVAL(LOCALE_SNATIVELANGNAME
,"Deutsch")
227 LOCVAL(LOCALE_ICOUNTRY
,"49")
228 LOCVAL(LOCALE_SCOUNTRY
,"Deutschland")
229 LOCVAL(LOCALE_SENGCOUNTRY
,"Deutschland")
230 LOCVAL(LOCALE_SABBREVCTRYNAME
,"De")
231 LOCVAL(LOCALE_SNATIVECTRYNAME
,"Deutschland")
232 LOCVAL(LOCALE_IDEFAULTLANGUAGE
,"9")
233 LOCVAL(LOCALE_IDEFAULTCOUNTRY
,"49")
235 LOCVAL(LOCALE_IDEFAULTCODEPAGE)
236 LOCVAL(LOCALE_IDEFAULTANSICODEPAGE)
238 LOCVAL(LOCALE_SLIST
,";")
239 LOCVAL(LOCALE_IMEASURE
,"0")
240 LOCVAL(LOCALE_SDECIMAL
,",")
241 LOCVAL(LOCALE_STHOUSAND
,".")
243 LOCVAL(LOCALE_SGROUPING)
245 LOCVAL(LOCALE_IDIGITS
,"2")
246 LOCVAL(LOCALE_ILZERO
,"1")
248 LOCVAL(LOCALE_INEGNUMBER)
249 Is this "0123456789" ??
250 LOCVAL(LOCALE_SNATIVEDIGITS)
252 LOCVAL(LOCALE_SCURRENCY
,"DM")
254 LOCVAL(LOCALE_SINTLSYMBOL)
255 LOCVAL(LOCALE_SMONDECIMALSEP)
256 LOCVAL(LOCALE_SMONTHOUSANDSEP)
257 LOCVAL(LOCALE_SMONGROUPING)
259 LOCVAL(LOCALE_ICURRDIGITS
,"2")
261 LOCVAL(LOCALE_IINTLCURRDIGITS)
263 LOCVAL(LOCALE_ICURRENCY
,"3")
264 LOCVAL(LOCALE_INEGCURR
,"8")
265 LOCVAL(LOCALE_SDATE
,".")
266 LOCVAL(LOCALE_STIME
,":")
267 LOCVAL(LOCALE_SSHORTDATE
,"dd.MM.yyyy")
268 LOCVAL(LOCALE_SLONGDATE
,"ddd, d. MMMM yyyy")
270 LOCVAL(LOCALE_STIMEFORMAT)
272 LOCVAL(LOCALE_IDATE
,"1")
274 LOCVAL(LOCALE_ILDATE)
276 LOCVAL(LOCALE_ITIME
,"1")
278 LOCVAL(LOCALE_ITIMEMARKPOSN)
279 LOCVAL(LOCALE_ICENTURY)
281 LOCVAL(LOCALE_ITLZERO
,"1")
283 LOCVAL(LOCALE_IDAYLZERO)
284 LOCVAL(LOCALE_IMONLZERO)
287 LOCVAL(LOCALE_ICALENDARTYPE)
288 LOCVAL(LOCALE_IOPTIONALCALENDAR)
289 LOCVAL(LOCALE_IFIRSTDAYOFWEEK)
290 LOCVAL(LOCALE_IFIRSTWEEKOFYEAR)
292 LOCVAL(LOCALE_SDAYNAME1
,"Montag")
293 LOCVAL(LOCALE_SDAYNAME2
,"Dienstag")
294 LOCVAL(LOCALE_SDAYNAME3
,"Mittwoch")
295 LOCVAL(LOCALE_SDAYNAME4
,"Donnerstag")
296 LOCVAL(LOCALE_SDAYNAME5
,"Freitag")
297 LOCVAL(LOCALE_SDAYNAME6
,"Sonnabend")
298 LOCVAL(LOCALE_SDAYNAME7
,"Sonntag")
299 LOCVAL(LOCALE_SABBREVDAYNAME1
,"Mo")
300 LOCVAL(LOCALE_SABBREVDAYNAME2
,"Di")
301 LOCVAL(LOCALE_SABBREVDAYNAME3
,"Mi")
302 LOCVAL(LOCALE_SABBREVDAYNAME4
,"Do")
303 LOCVAL(LOCALE_SABBREVDAYNAME5
,"Fr")
304 LOCVAL(LOCALE_SABBREVDAYNAME6
,"Sa")
305 LOCVAL(LOCALE_SABBREVDAYNAME7
,"So")
306 LOCVAL(LOCALE_SMONTHNAME1
,"Januar")
307 LOCVAL(LOCALE_SMONTHNAME2
,"Februar")
308 LOCVAL(LOCALE_SMONTHNAME3
,"März")
309 LOCVAL(LOCALE_SMONTHNAME4
,"April")
310 LOCVAL(LOCALE_SMONTHNAME5
,"Mai")
311 LOCVAL(LOCALE_SMONTHNAME6
,"Juni")
312 LOCVAL(LOCALE_SMONTHNAME7
,"Juli")
313 LOCVAL(LOCALE_SMONTHNAME8
,"August")
314 LOCVAL(LOCALE_SMONTHNAME9
,"September")
315 LOCVAL(LOCALE_SMONTHNAME10
,"Oktober")
316 LOCVAL(LOCALE_SMONTHNAME11
,"November")
317 LOCVAL(LOCALE_SMONTHNAME12
,"Dezember")
318 LOCVAL(LOCALE_SMONTHNAME13
,"")
319 LOCVAL(LOCALE_SABBREVMONTHNAME1
,"Jan")
320 LOCVAL(LOCALE_SABBREVMONTHNAME2
,"Feb")
321 LOCVAL(LOCALE_SABBREVMONTHNAME3
,"Mär")
322 LOCVAL(LOCALE_SABBREVMONTHNAME4
,"Apr")
323 LOCVAL(LOCALE_SABBREVMONTHNAME5
,"Mai")
324 LOCVAL(LOCALE_SABBREVMONTHNAME6
,"Jun")
325 LOCVAL(LOCALE_SABBREVMONTHNAME7
,"Jul")
326 LOCVAL(LOCALE_SABBREVMONTHNAME8
,"Aug")
327 LOCVAL(LOCALE_SABBREVMONTHNAME9
,"Sep")
328 LOCVAL(LOCALE_SABBREVMONTHNAME10
,"Okt")
329 LOCVAL(LOCALE_SABBREVMONTHNAME11
,"Nov")
330 LOCVAL(LOCALE_SABBREVMONTHNAME12
,"Dez")
331 LOCVAL(LOCALE_SABBREVMONTHNAME13
,"")
333 LOCVAL(LOCALE_SPOSITIVESIGN)
334 LOCVAL(LOCALE_SNEGATIVESIGN)
335 LOCVAL(LOCALE_IPOSSIGNPOSN)
336 LOCVAL(LOCALE_INEGSIGNPOSN)
337 LOCVAL(LOCALE_IPOSSYMPRECEDES)
338 LOCVAL(LOCALE_IPOSSEPBYSPACE)
339 LOCVAL(LOCALE_INEGSYMPRECEDES)
340 LOCVAL(LOCALE_INEGSEPBYSPACE)
342 break; /* LANG(De) */
345 /* LOCVAL(LOCALE_ILANGUAGE,"9") */
346 LOCVAL(LOCALE_SLANGUAGE
,"Dansk")
347 LOCVAL(LOCALE_SENGLANGUAGE
,"Danish")
348 LOCVAL(LOCALE_SABBREVLANGNAME
,"dan")
349 LOCVAL(LOCALE_SNATIVELANGNAME
,"Dansk")
350 LOCVAL(LOCALE_ICOUNTRY
,"45")
351 LOCVAL(LOCALE_SCOUNTRY
,"Danmark")
352 LOCVAL(LOCALE_SENGCOUNTRY
,"Denmark")
353 LOCVAL(LOCALE_SABBREVCTRYNAME
,"Da")
354 LOCVAL(LOCALE_SNATIVECTRYNAME
,"Danmark")
355 /* LOCVAL(LOCALE_IDEFAULTLANGUAGE,"9") */
356 LOCVAL(LOCALE_IDEFAULTCOUNTRY
,"45")
357 /* LOCVAL(LOCALE_IDEFAULTCODEPAGE) */
358 /* LOCVAL(LOCALE_IDEFAULTANSICODEPAGE) */
359 LOCVAL(LOCALE_SLIST
,";")
360 LOCVAL(LOCALE_IMEASURE
,"0")
361 LOCVAL(LOCALE_SDECIMAL
,",")
362 LOCVAL(LOCALE_STHOUSAND
,".")
363 /* LOCVAL(LOCALE_SGROUPING) */
364 LOCVAL(LOCALE_IDIGITS
,"2")
365 LOCVAL(LOCALE_ILZERO
,"1")
366 /* LOCVAL(LOCALE_INEGNUMBER) */
367 /* LOCVAL(LOCALE_SNATIVEDIGITS) */
368 LOCVAL(LOCALE_SCURRENCY
,"kr")
369 /* LOCVAL(LOCALE_SINTLSYMBOL) */
370 LOCVAL(LOCALE_SMONDECIMALSEP
,",")
371 LOCVAL(LOCALE_SMONTHOUSANDSEP
,".")
372 /* LOCVAL(LOCALE_SMONGROUPING) */
373 LOCVAL(LOCALE_ICURRDIGITS
,"2")
374 /* LOCVAL(LOCALE_IINTLCURRDIGITS) */
375 LOCVAL(LOCALE_ICURRENCY
,"3")
376 LOCVAL(LOCALE_INEGCURR
,"8")
377 LOCVAL(LOCALE_SDATE
,".")
378 LOCVAL(LOCALE_STIME
,":")
379 LOCVAL(LOCALE_SSHORTDATE
,"dd/MM-yyyy")
380 LOCVAL(LOCALE_SLONGDATE
,"ddd, d. MMMM yyyy")
381 /* LOCVAL(LOCALE_STIMEFORMAT) */
382 LOCVAL(LOCALE_IDATE
,"1")
383 /* LOCVAL(LOCALE_ILDATE) */
384 LOCVAL(LOCALE_ITIME
,"1")
385 /* LOCVAL(LOCALE_ITIMEMARKPOSN) */
386 /* LOCVAL(LOCALE_ICENTURY) */
387 LOCVAL(LOCALE_ITLZERO
,"1")
388 /* LOCVAL(LOCALE_IDAYLZERO) */
389 /* LOCVAL(LOCALE_IMONLZERO) */
390 /* LOCVAL(LOCALE_S1159) */
391 /* LOCVAL(LOCALE_S2359) */
392 /* LOCVAL(LOCALE_ICALENDARTYPE) */
393 /* LOCVAL(LOCALE_IOPTIONALCALENDAR) */
394 /* LOCVAL(LOCALE_IFIRSTDAYOFWEEK) */
395 /* LOCVAL(LOCALE_IFIRSTWEEKOFYEAR) */
396 LOCVAL(LOCALE_SDAYNAME1
,"Mandag")
397 LOCVAL(LOCALE_SDAYNAME2
,"Tirsdag")
398 LOCVAL(LOCALE_SDAYNAME3
,"Onsdag")
399 LOCVAL(LOCALE_SDAYNAME4
,"Torsdag")
400 LOCVAL(LOCALE_SDAYNAME5
,"Fredag")
401 LOCVAL(LOCALE_SDAYNAME6
,"Lørdag")
402 LOCVAL(LOCALE_SDAYNAME7
,"Søndag")
403 LOCVAL(LOCALE_SABBREVDAYNAME1
,"Ma")
404 LOCVAL(LOCALE_SABBREVDAYNAME2
,"Ti")
405 LOCVAL(LOCALE_SABBREVDAYNAME3
,"On")
406 LOCVAL(LOCALE_SABBREVDAYNAME4
,"To")
407 LOCVAL(LOCALE_SABBREVDAYNAME5
,"Fr")
408 LOCVAL(LOCALE_SABBREVDAYNAME6
,"Lø")
409 LOCVAL(LOCALE_SABBREVDAYNAME7
,"Sø")
410 LOCVAL(LOCALE_SMONTHNAME1
,"Januar")
411 LOCVAL(LOCALE_SMONTHNAME2
,"Februar")
412 LOCVAL(LOCALE_SMONTHNAME3
,"Marts")
413 LOCVAL(LOCALE_SMONTHNAME4
,"April")
414 LOCVAL(LOCALE_SMONTHNAME5
,"Maj")
415 LOCVAL(LOCALE_SMONTHNAME6
,"Juni")
416 LOCVAL(LOCALE_SMONTHNAME7
,"Juli")
417 LOCVAL(LOCALE_SMONTHNAME8
,"August")
418 LOCVAL(LOCALE_SMONTHNAME9
,"September")
419 LOCVAL(LOCALE_SMONTHNAME10
,"Oktober")
420 LOCVAL(LOCALE_SMONTHNAME11
,"November")
421 LOCVAL(LOCALE_SMONTHNAME12
,"December")
422 LOCVAL(LOCALE_SMONTHNAME13
,"")
423 LOCVAL(LOCALE_SABBREVMONTHNAME1
,"Jan")
424 LOCVAL(LOCALE_SABBREVMONTHNAME2
,"Feb")
425 LOCVAL(LOCALE_SABBREVMONTHNAME3
,"Mar")
426 LOCVAL(LOCALE_SABBREVMONTHNAME4
,"Apr")
427 LOCVAL(LOCALE_SABBREVMONTHNAME5
,"Maj")
428 LOCVAL(LOCALE_SABBREVMONTHNAME6
,"Jun")
429 LOCVAL(LOCALE_SABBREVMONTHNAME7
,"Jul")
430 LOCVAL(LOCALE_SABBREVMONTHNAME8
,"Aug")
431 LOCVAL(LOCALE_SABBREVMONTHNAME9
,"Sep")
432 LOCVAL(LOCALE_SABBREVMONTHNAME10
,"Okt")
433 LOCVAL(LOCALE_SABBREVMONTHNAME11
,"Nov")
434 LOCVAL(LOCALE_SABBREVMONTHNAME12
,"Dec")
435 LOCVAL(LOCALE_SABBREVMONTHNAME13
,"")
436 /* LOCVAL(LOCALE_SPOSITIVESIGN) */
437 /* LOCVAL(LOCALE_SNEGATIVESIGN) */
438 /* LOCVAL(LOCALE_IPOSSIGNPOSN) */
439 /* LOCVAL(LOCALE_INEGSIGNPOSN) */
440 /* LOCVAL(LOCALE_IPOSSYMPRECEDES) */
441 /* LOCVAL(LOCALE_IPOSSEPBYSPACE) */
442 /* LOCVAL(LOCALE_INEGSYMPRECEDES) */
443 /* LOCVAL(LOCALE_INEGSEPBYSPACE) */
444 break; /* LANG(Da) */
447 /* This definitions apply to Germany only. Users in Austria
448 or Switzerland might want to modify them */
449 LOCVAL(LOCALE_ILANGUAGE
,"9")
450 LOCVAL(LOCALE_SLANGUAGE
,"English")
451 LOCVAL(LOCALE_SENGLANGUAGE
,"English")
452 LOCVAL(LOCALE_SABBREVLANGNAME
,"enu")
453 LOCVAL(LOCALE_SNATIVELANGNAME
,"English")
454 LOCVAL(LOCALE_ICOUNTRY
,"11")
455 LOCVAL(LOCALE_SCOUNTRY
,"Deutschland")
456 LOCVAL(LOCALE_SENGCOUNTRY
,"Deutschland")
457 LOCVAL(LOCALE_SABBREVCTRYNAME
,"De")
458 LOCVAL(LOCALE_SNATIVECTRYNAME
,"Deutschland")
459 LOCVAL(LOCALE_IDEFAULTLANGUAGE
,"9")
460 LOCVAL(LOCALE_IDEFAULTCOUNTRY
,"49")
462 LOCVAL(LOCALE_IDEFAULTCODEPAGE)
463 LOCVAL(LOCALE_IDEFAULTANSICODEPAGE)
465 LOCVAL(LOCALE_SLIST
,";")
466 LOCVAL(LOCALE_IMEASURE
,"0")
467 LOCVAL(LOCALE_SDECIMAL
,",")
468 LOCVAL(LOCALE_STHOUSAND
,".")
470 LOCVAL(LOCALE_SGROUPING)
472 LOCVAL(LOCALE_IDIGITS
,"2")
473 LOCVAL(LOCALE_ILZERO
,"1")
475 LOCVAL(LOCALE_INEGNUMBER)
476 Is this "0123456789" ??
477 LOCVAL(LOCALE_SNATIVEDIGITS)
479 LOCVAL(LOCALE_SCURRENCY
,"DM")
481 LOCVAL(LOCALE_SINTLSYMBOL)
482 LOCVAL(LOCALE_SMONDECIMALSEP)
483 LOCVAL(LOCALE_SMONTHOUSANDSEP)
484 LOCVAL(LOCALE_SMONGROUPING)
486 LOCVAL(LOCALE_ICURRDIGITS
,"2")
488 LOCVAL(LOCALE_IINTLCURRDIGITS)
490 LOCVAL(LOCALE_ICURRENCY
,"3")
491 LOCVAL(LOCALE_INEGCURR
,"8")
492 LOCVAL(LOCALE_SDATE
,".")
493 LOCVAL(LOCALE_STIME
,":")
494 LOCVAL(LOCALE_SSHORTDATE
,"dd.MM.yyyy")
495 LOCVAL(LOCALE_SLONGDATE
,"ddd, d. MMMM yyyy")
497 LOCVAL(LOCALE_STIMEFORMAT)
499 LOCVAL(LOCALE_IDATE
,"1")
501 LOCVAL(LOCALE_ILDATE)
503 LOCVAL(LOCALE_ITIME
,"1")
505 LOCVAL(LOCALE_ITIMEMARKPOSN)
506 LOCVAL(LOCALE_ICENTURY)
508 LOCVAL(LOCALE_ITLZERO
,"1")
510 LOCVAL(LOCALE_IDAYLZERO)
511 LOCVAL(LOCALE_IMONLZERO)
514 LOCVAL(LOCALE_ICALENDARTYPE)
515 LOCVAL(LOCALE_IOPTIONALCALENDAR)
516 LOCVAL(LOCALE_IFIRSTDAYOFWEEK)
517 LOCVAL(LOCALE_IFIRSTWEEKOFYEAR)
519 LOCVAL(LOCALE_SDAYNAME1
,"Montag")
520 LOCVAL(LOCALE_SDAYNAME2
,"Dienstag")
521 LOCVAL(LOCALE_SDAYNAME3
,"Mittwoch")
522 LOCVAL(LOCALE_SDAYNAME4
,"Donnerstag")
523 LOCVAL(LOCALE_SDAYNAME5
,"Freitag")
524 LOCVAL(LOCALE_SDAYNAME6
,"Sonnabend")
525 LOCVAL(LOCALE_SDAYNAME7
,"Sonntag")
526 LOCVAL(LOCALE_SABBREVDAYNAME1
,"Mo")
527 LOCVAL(LOCALE_SABBREVDAYNAME2
,"Di")
528 LOCVAL(LOCALE_SABBREVDAYNAME3
,"Mi")
529 LOCVAL(LOCALE_SABBREVDAYNAME4
,"Do")
530 LOCVAL(LOCALE_SABBREVDAYNAME5
,"Fr")
531 LOCVAL(LOCALE_SABBREVDAYNAME6
,"Sa")
532 LOCVAL(LOCALE_SABBREVDAYNAME7
,"So")
533 LOCVAL(LOCALE_SMONTHNAME1
,"Januar")
534 LOCVAL(LOCALE_SMONTHNAME2
,"Februar")
535 LOCVAL(LOCALE_SMONTHNAME3
,"März")
536 LOCVAL(LOCALE_SMONTHNAME4
,"April")
537 LOCVAL(LOCALE_SMONTHNAME5
,"Mai")
538 LOCVAL(LOCALE_SMONTHNAME6
,"Juni")
539 LOCVAL(LOCALE_SMONTHNAME7
,"Juli")
540 LOCVAL(LOCALE_SMONTHNAME8
,"August")
541 LOCVAL(LOCALE_SMONTHNAME9
,"September")
542 LOCVAL(LOCALE_SMONTHNAME10
,"Oktober")
543 LOCVAL(LOCALE_SMONTHNAME11
,"November")
544 LOCVAL(LOCALE_SMONTHNAME12
,"Dezember")
545 LOCVAL(LOCALE_SMONTHNAME13
,"")
546 LOCVAL(LOCALE_SABBREVMONTHNAME1
,"Jan")
547 LOCVAL(LOCALE_SABBREVMONTHNAME2
,"Feb")
548 LOCVAL(LOCALE_SABBREVMONTHNAME3
,"Mär")
549 LOCVAL(LOCALE_SABBREVMONTHNAME4
,"Apr")
550 LOCVAL(LOCALE_SABBREVMONTHNAME5
,"Mai")
551 LOCVAL(LOCALE_SABBREVMONTHNAME6
,"Jun")
552 LOCVAL(LOCALE_SABBREVMONTHNAME7
,"Jul")
553 LOCVAL(LOCALE_SABBREVMONTHNAME8
,"Aug")
554 LOCVAL(LOCALE_SABBREVMONTHNAME9
,"Sep")
555 LOCVAL(LOCALE_SABBREVMONTHNAME10
,"Okt")
556 LOCVAL(LOCALE_SABBREVMONTHNAME11
,"Nov")
557 LOCVAL(LOCALE_SABBREVMONTHNAME12
,"Dez")
558 LOCVAL(LOCALE_SABBREVMONTHNAME13
,"")
560 LOCVAL(LOCALE_SPOSITIVESIGN)
561 LOCVAL(LOCALE_SNEGATIVESIGN)
562 LOCVAL(LOCALE_IPOSSIGNPOSN)
563 LOCVAL(LOCALE_INEGSIGNPOSN)
564 LOCVAL(LOCALE_IPOSSYMPRECEDES)
565 LOCVAL(LOCALE_IPOSSEPBYSPACE)
566 LOCVAL(LOCALE_INEGSYMPRECEDES)
567 LOCVAL(LOCALE_INEGSEPBYSPACE)
569 break; /* LANG(En) */
572 /* LOCVAL(LOCALE_ILANGUAGE,"9") ISO numerical ID for language TODO */
573 LOCVAL(LOCALE_SLANGUAGE
,"Esperanto")
574 LOCVAL(LOCALE_SENGLANGUAGE
,"Esperanto")
575 /* LOCVAL(LOCALE_SABBREVLANGNAME,"deu") */
576 LOCVAL(LOCALE_SNATIVELANGNAME
,"Esperanto")
577 /* LOCVAL(LOCALE_ICOUNTRY,"49") not official in any one country */
578 /* LOCVAL(LOCALE_SCOUNTRY,"Deutschland") */
579 /* LOCVAL(LOCALE_SENGCOUNTRY,"Germany") */
580 /* LOCVAL(LOCALE_SABBREVCTRYNAME,"De") */
581 /* LOCVAL(LOCALE_SNATIVECTRYNAME,"Deutschland") */
582 /* LOCVAL(LOCALE_IDEFAULTLANGUAGE,"9") ISO ID of lang TODO */
583 /* LOCVAL(LOCALE_IDEFAULTCOUNTRY,"49") */
584 LOCVAL(LOCALE_IDEFAULTCODEPAGE
,"3") /* is this right? TODO */
585 LOCVAL(LOCALE_IDEFAULTANSICODEPAGE
,"3") /* is this right? TODO */
586 LOCVAL(LOCALE_SLIST
,";")
587 LOCVAL(LOCALE_IMEASURE
,"0")
588 LOCVAL(LOCALE_SDECIMAL
,",")
589 LOCVAL(LOCALE_STHOUSAND
,".")
590 /* LOCVAL(LOCALE_SGROUPING) */
591 LOCVAL(LOCALE_IDIGITS
,"2")
592 LOCVAL(LOCALE_ILZERO
,"1")
593 /* LOCVAL(LOCALE_INEGNUMBER) */
594 /* LOCVAL(LOCALE_SNATIVEDIGITS) */
595 LOCVAL(LOCALE_SCURRENCY
,"NLG") /* accounting currency of UEA */
596 /* LOCVAL(LOCALE_SINTLSYMBOL) */
597 /* LOCVAL(LOCALE_SMONDECIMALSEP) */
598 /* LOCVAL(LOCALE_SMONTHOUSANDSEP) */
599 /* LOCVAL(LOCALE_SMONGROUPING) */
600 /* LOCVAL(LOCALE_ICURRDIGITS,"2") */
601 /* LOCVAL(LOCALE_IINTLCURRDIGITS) */
602 LOCVAL(LOCALE_ICURRENCY
,"3")
603 LOCVAL(LOCALE_INEGCURR
,"8")
604 LOCVAL(LOCALE_SDATE
,".")
605 LOCVAL(LOCALE_STIME
,":")
606 LOCVAL(LOCALE_SSHORTDATE
,"yyyy.mm.dd")
607 LOCVAL(LOCALE_SLONGDATE
,"ddd, d. MMMM yyyy")
608 /* LOCVAL(LOCALE_STIMEFORMAT) */
609 LOCVAL(LOCALE_IDATE
,"1")
610 /* LOCVAL(LOCALE_ILDATE) */
611 LOCVAL(LOCALE_ITIME
,"1")
612 /* LOCVAL(LOCALE_ITIMEMARKPOSN) */
613 /* LOCVAL(LOCALE_ICENTURY) */
614 LOCVAL(LOCALE_ITLZERO
,"1")
615 /* LOCVAL(LOCALE_IDAYLZERO) */
616 /* LOCVAL(LOCALE_IMONLZERO) */
617 /* LOCVAL(LOCALE_S1159) */
618 /* LOCVAL(LOCALE_S2359) */
619 /* LOCVAL(LOCALE_ICALENDARTYPE) */
620 /* LOCVAL(LOCALE_IOPTIONALCALENDAR) */
621 /* LOCVAL(LOCALE_IFIRSTDAYOFWEEK) */
622 /* LOCVAL(LOCALE_IFIRSTWEEKOFYEAR) */
623 LOCVAL(LOCALE_SDAYNAME1
,"lundo")
624 LOCVAL(LOCALE_SDAYNAME2
,"mardo")
625 LOCVAL(LOCALE_SDAYNAME3
,"merkredo")
626 LOCVAL(LOCALE_SDAYNAME4
,"¼aýdo")
627 LOCVAL(LOCALE_SDAYNAME5
,"vendredo")
628 LOCVAL(LOCALE_SDAYNAME6
,"sabato")
629 LOCVAL(LOCALE_SDAYNAME7
,"dimanæo")
630 LOCVAL(LOCALE_SABBREVDAYNAME1
,"lu")
631 LOCVAL(LOCALE_SABBREVDAYNAME2
,"ma")
632 LOCVAL(LOCALE_SABBREVDAYNAME3
,"me")
633 LOCVAL(LOCALE_SABBREVDAYNAME4
,"¼a")
634 LOCVAL(LOCALE_SABBREVDAYNAME5
,"ve")
635 LOCVAL(LOCALE_SABBREVDAYNAME6
,"sa")
636 LOCVAL(LOCALE_SABBREVDAYNAME7
,"di")
637 LOCVAL(LOCALE_SMONTHNAME1
,"januaro")
638 LOCVAL(LOCALE_SMONTHNAME2
,"februaro")
639 LOCVAL(LOCALE_SMONTHNAME3
,"marto")
640 LOCVAL(LOCALE_SMONTHNAME4
,"aprilo")
641 LOCVAL(LOCALE_SMONTHNAME5
,"majo")
642 LOCVAL(LOCALE_SMONTHNAME6
,"junio")
643 LOCVAL(LOCALE_SMONTHNAME7
,"julio")
644 LOCVAL(LOCALE_SMONTHNAME8
,"aýgusto")
645 LOCVAL(LOCALE_SMONTHNAME9
,"septembro")
646 LOCVAL(LOCALE_SMONTHNAME10
,"oktobro")
647 LOCVAL(LOCALE_SMONTHNAME11
,"novembro")
648 LOCVAL(LOCALE_SMONTHNAME12
,"decembro")
649 LOCVAL(LOCALE_SMONTHNAME13
,"")
650 LOCVAL(LOCALE_SABBREVMONTHNAME1
,"jan")
651 LOCVAL(LOCALE_SABBREVMONTHNAME2
,"feb")
652 LOCVAL(LOCALE_SABBREVMONTHNAME3
,"mar")
653 LOCVAL(LOCALE_SABBREVMONTHNAME4
,"apr")
654 LOCVAL(LOCALE_SABBREVMONTHNAME5
,"maj")
655 LOCVAL(LOCALE_SABBREVMONTHNAME6
,"jun")
656 LOCVAL(LOCALE_SABBREVMONTHNAME7
,"jul")
657 LOCVAL(LOCALE_SABBREVMONTHNAME8
,"aýg")
658 LOCVAL(LOCALE_SABBREVMONTHNAME9
,"sep")
659 LOCVAL(LOCALE_SABBREVMONTHNAME10
,"okt")
660 LOCVAL(LOCALE_SABBREVMONTHNAME11
,"nov")
661 LOCVAL(LOCALE_SABBREVMONTHNAME12
,"dec")
662 LOCVAL(LOCALE_SABBREVMONTHNAME13
,"")
663 /* LOCVAL(LOCALE_SPOSITIVESIGN) */
664 /* LOCVAL(LOCALE_SNEGATIVESIGN) */
665 /* LOCVAL(LOCALE_IPOSSIGNPOSN) */
666 /* LOCVAL(LOCALE_INEGSIGNPOSN) */
667 /* LOCVAL(LOCALE_IPOSSYMPRECEDES) */
668 /* LOCVAL(LOCALE_IPOSSEPBYSPACE) */
669 /* LOCVAL(LOCALE_INEGSYMPRECEDES) */
670 /* LOCVAL(LOCALE_INEGSEPBYSPACE) */
671 break; /* LANG(Eo) */
674 LOCVAL(LOCALE_ILANGUAGE
,"11")
675 LOCVAL(LOCALE_SLANGUAGE
,"Suomi")
676 LOCVAL(LOCALE_SENGLANGUAGE
,"Finnish")
677 LOCVAL(LOCALE_SABBREVLANGNAME
,"fin")
678 LOCVAL(LOCALE_SNATIVELANGNAME
,"suomi")
679 LOCVAL(LOCALE_ICOUNTRY
,"49")
680 LOCVAL(LOCALE_SCOUNTRY
,"Suomi")
681 LOCVAL(LOCALE_SENGCOUNTRY
,"Finland")
682 LOCVAL(LOCALE_SABBREVCTRYNAME
,"Fin")
683 LOCVAL(LOCALE_SNATIVECTRYNAME
,"Suomi")
684 LOCVAL(LOCALE_IDEFAULTLANGUAGE
,"11")
685 LOCVAL(LOCALE_IDEFAULTCOUNTRY
,"358")
687 LOCVAL(LOCALE_IDEFAULTCODEPAGE)
688 LOCVAL(LOCALE_IDEFAULTANSICODEPAGE)
690 LOCVAL(LOCALE_SLIST
,";")
691 LOCVAL(LOCALE_IMEASURE
,"0")
692 LOCVAL(LOCALE_SDECIMAL
,",")
693 LOCVAL(LOCALE_STHOUSAND
,".")
695 LOCVAL(LOCALE_SGROUPING)
697 LOCVAL(LOCALE_IDIGITS
,"2")
698 LOCVAL(LOCALE_ILZERO
,"1")
700 LOCVAL(LOCALE_INEGNUMBER)
701 Is this "0123456789" ??
702 LOCVAL(LOCALE_SNATIVEDIGITS)
704 LOCVAL(LOCALE_SCURRENCY
,"mk")
706 LOCVAL(LOCALE_SINTLSYMBOL)
707 LOCVAL(LOCALE_SMONDECIMALSEP)
708 LOCVAL(LOCALE_SMONTHOUSANDSEP)
709 LOCVAL(LOCALE_SMONGROUPING)
711 LOCVAL(LOCALE_ICURRDIGITS
,"2")
713 LOCVAL(LOCALE_IINTLCURRDIGITS)
715 LOCVAL(LOCALE_ICURRENCY
,"3")
716 LOCVAL(LOCALE_INEGCURR
,"8")
717 LOCVAL(LOCALE_SDATE
,".")
718 LOCVAL(LOCALE_STIME
,":")
719 LOCVAL(LOCALE_SSHORTDATE
,"dd.MM.yyyy")
720 LOCVAL(LOCALE_SLONGDATE
,"ddd, d. MMMM yyyy")
722 LOCVAL(LOCALE_STIMEFORMAT)
724 LOCVAL(LOCALE_IDATE
,"1")
726 LOCVAL(LOCALE_ILDATE)
728 LOCVAL(LOCALE_ITIME
,"1")
730 LOCVAL(LOCALE_ITIMEMARKPOSN)
731 LOCVAL(LOCALE_ICENTURY)
733 LOCVAL(LOCALE_ITLZERO
,"1")
735 LOCVAL(LOCALE_IDAYLZERO)
736 LOCVAL(LOCALE_IMONLZERO)
739 LOCVAL(LOCALE_ICALENDARTYPE)
740 LOCVAL(LOCALE_IOPTIONALCALENDAR)
741 LOCVAL(LOCALE_IFIRSTDAYOFWEEK)
742 LOCVAL(LOCALE_IFIRSTWEEKOFYEAR)
744 LOCVAL(LOCALE_SDAYNAME1
,"maanantai")
745 LOCVAL(LOCALE_SDAYNAME2
,"tiistai")
746 LOCVAL(LOCALE_SDAYNAME3
,"keskiviikko")
747 LOCVAL(LOCALE_SDAYNAME4
,"torstai")
748 LOCVAL(LOCALE_SDAYNAME5
,"perjantai")
749 LOCVAL(LOCALE_SDAYNAME6
,"lauantai")
750 LOCVAL(LOCALE_SDAYNAME7
,"sunnuntai")
751 LOCVAL(LOCALE_SABBREVDAYNAME1
,"Ma")
752 LOCVAL(LOCALE_SABBREVDAYNAME2
,"Ti")
753 LOCVAL(LOCALE_SABBREVDAYNAME3
,"Ke")
754 LOCVAL(LOCALE_SABBREVDAYNAME4
,"To")
755 LOCVAL(LOCALE_SABBREVDAYNAME5
,"Pe")
756 LOCVAL(LOCALE_SABBREVDAYNAME6
,"La")
757 LOCVAL(LOCALE_SABBREVDAYNAME7
,"Su")
758 LOCVAL(LOCALE_SMONTHNAME1
,"tammikuu")
759 LOCVAL(LOCALE_SMONTHNAME2
,"helmikuu")
760 LOCVAL(LOCALE_SMONTHNAME3
,"maaliskuu")
761 LOCVAL(LOCALE_SMONTHNAME4
,"huhtikuu")
762 LOCVAL(LOCALE_SMONTHNAME5
,"toukokuu")
763 LOCVAL(LOCALE_SMONTHNAME6
,"kesäkuu")
764 LOCVAL(LOCALE_SMONTHNAME7
,"heinäkuu")
765 LOCVAL(LOCALE_SMONTHNAME8
,"elokuu")
766 LOCVAL(LOCALE_SMONTHNAME9
,"syyskuu")
767 LOCVAL(LOCALE_SMONTHNAME10
,"lokakuu")
768 LOCVAL(LOCALE_SMONTHNAME11
,"marraskuu")
769 LOCVAL(LOCALE_SMONTHNAME12
,"joulukuu")
770 LOCVAL(LOCALE_SMONTHNAME13
,"")
771 LOCVAL(LOCALE_SABBREVMONTHNAME1
,"tammi")
772 LOCVAL(LOCALE_SABBREVMONTHNAME2
,"helmi")
773 LOCVAL(LOCALE_SABBREVMONTHNAME3
,"maalis")
774 LOCVAL(LOCALE_SABBREVMONTHNAME4
,"huhti")
775 LOCVAL(LOCALE_SABBREVMONTHNAME5
,"touko")
776 LOCVAL(LOCALE_SABBREVMONTHNAME6
,"kesä")
777 LOCVAL(LOCALE_SABBREVMONTHNAME7
,"heinä")
778 LOCVAL(LOCALE_SABBREVMONTHNAME8
,"elo")
779 LOCVAL(LOCALE_SABBREVMONTHNAME9
,"syys")
780 LOCVAL(LOCALE_SABBREVMONTHNAME10
,"loka")
781 LOCVAL(LOCALE_SABBREVMONTHNAME11
,"marras")
782 LOCVAL(LOCALE_SABBREVMONTHNAME12
,"joulu")
783 LOCVAL(LOCALE_SABBREVMONTHNAME13
,"")
785 LOCVAL(LOCALE_SPOSITIVESIGN)
786 LOCVAL(LOCALE_SNEGATIVESIGN)
787 LOCVAL(LOCALE_IPOSSIGNPOSN)
788 LOCVAL(LOCALE_INEGSIGNPOSN)
789 LOCVAL(LOCALE_IPOSSYMPRECEDES)
790 LOCVAL(LOCALE_IPOSSEPBYSPACE)
791 LOCVAL(LOCALE_INEGSYMPRECEDES)
792 LOCVAL(LOCALE_INEGSEPBYSPACE)
794 break; /* LANG(Fi) */
797 LOCVAL(LOCALE_ILANGUAGE
,"9")
798 LOCVAL(LOCALE_SLANGUAGE
,"Italiano")
799 LOCVAL(LOCALE_SENGLANGUAGE
,"Italian")
800 LOCVAL(LOCALE_SABBREVLANGNAME
,"ita")
801 LOCVAL(LOCALE_SNATIVELANGNAME
,"Italiano")
802 LOCVAL(LOCALE_ICOUNTRY
,"39")
803 LOCVAL(LOCALE_SCOUNTRY
,"Italia")
804 LOCVAL(LOCALE_SENGCOUNTRY
,"Italy")
805 LOCVAL(LOCALE_SABBREVCTRYNAME
,"It")
806 LOCVAL(LOCALE_SNATIVECTRYNAME
,"Italia")
807 LOCVAL(LOCALE_IDEFAULTLANGUAGE
,"9")
808 LOCVAL(LOCALE_IDEFAULTCOUNTRY
,"39")
810 LOCVAL(LOCALE_IDEFAULTCODEPAGE)
811 LOCVAL(LOCALE_IDEFAULTANSICODEPAGE)
813 LOCVAL(LOCALE_SLIST
,";")
814 LOCVAL(LOCALE_IMEASURE
,"0")
815 LOCVAL(LOCALE_SDECIMAL
,",")
816 LOCVAL(LOCALE_STHOUSAND
,".")
818 LOCVAL(LOCALE_SGROUPING)
820 LOCVAL(LOCALE_IDIGITS
,"2")
821 LOCVAL(LOCALE_ILZERO
,"1")
823 LOCVAL(LOCALE_INEGNUMBER)
824 Is this "0123456789" ??
825 LOCVAL(LOCALE_SNATIVEDIGITS)
827 LOCVAL(LOCALE_SCURRENCY
,"Lit.")
829 LOCVAL(LOCALE_SINTLSYMBOL)
830 LOCVAL(LOCALE_SMONDECIMALSEP)
831 LOCVAL(LOCALE_SMONTHOUSANDSEP)
832 LOCVAL(LOCALE_SMONGROUPING)
834 LOCVAL(LOCALE_ICURRDIGITS
,"2")
836 LOCVAL(LOCALE_IINTLCURRDIGITS)
838 LOCVAL(LOCALE_ICURRENCY
,"3")
839 LOCVAL(LOCALE_INEGCURR
,"8")
840 LOCVAL(LOCALE_SDATE
,".")
841 LOCVAL(LOCALE_STIME
,":")
842 LOCVAL(LOCALE_SSHORTDATE
,"dd.MM.yyyy")
843 LOCVAL(LOCALE_SLONGDATE
,"ddd, d. MMMM yyyy")
845 LOCVAL(LOCALE_STIMEFORMAT)
847 LOCVAL(LOCALE_IDATE
,"1")
849 LOCVAL(LOCALE_ILDATE)
851 LOCVAL(LOCALE_ITIME
,"1")
853 LOCVAL(LOCALE_ITIMEMARKPOSN)
854 LOCVAL(LOCALE_ICENTURY)
856 LOCVAL(LOCALE_ITLZERO
,"1")
858 LOCVAL(LOCALE_IDAYLZERO)
859 LOCVAL(LOCALE_IMONLZERO)
862 LOCVAL(LOCALE_ICALENDARTYPE)
863 LOCVAL(LOCALE_IOPTIONALCALENDAR)
864 LOCVAL(LOCALE_IFIRSTDAYOFWEEK)
865 LOCVAL(LOCALE_IFIRSTWEEKOFYEAR)
867 LOCVAL(LOCALE_SDAYNAME1
,"Lunedi'")
868 LOCVAL(LOCALE_SDAYNAME2
,"Martedi'")
869 LOCVAL(LOCALE_SDAYNAME3
,"Mercoledi'")
870 LOCVAL(LOCALE_SDAYNAME4
,"Giovedi'")
871 LOCVAL(LOCALE_SDAYNAME5
,"Venerdi'")
872 LOCVAL(LOCALE_SDAYNAME6
,"Sabato")
873 LOCVAL(LOCALE_SDAYNAME7
,"Domenica")
874 LOCVAL(LOCALE_SABBREVDAYNAME1
,"Lu")
875 LOCVAL(LOCALE_SABBREVDAYNAME2
,"Ma")
876 LOCVAL(LOCALE_SABBREVDAYNAME3
,"Me")
877 LOCVAL(LOCALE_SABBREVDAYNAME4
,"Gi")
878 LOCVAL(LOCALE_SABBREVDAYNAME5
,"Ve")
879 LOCVAL(LOCALE_SABBREVDAYNAME6
,"Sa")
880 LOCVAL(LOCALE_SABBREVDAYNAME7
,"Do")
881 LOCVAL(LOCALE_SMONTHNAME1
,"Gennaio")
882 LOCVAL(LOCALE_SMONTHNAME2
,"Febbraio")
883 LOCVAL(LOCALE_SMONTHNAME3
,"Marzo")
884 LOCVAL(LOCALE_SMONTHNAME4
,"Aprile")
885 LOCVAL(LOCALE_SMONTHNAME5
,"Maggio")
886 LOCVAL(LOCALE_SMONTHNAME6
,"Giugno")
887 LOCVAL(LOCALE_SMONTHNAME7
,"Luglio")
888 LOCVAL(LOCALE_SMONTHNAME8
,"Agosto")
889 LOCVAL(LOCALE_SMONTHNAME9
,"Settembre")
890 LOCVAL(LOCALE_SMONTHNAME10
,"Ottobre")
891 LOCVAL(LOCALE_SMONTHNAME11
,"Novembre")
892 LOCVAL(LOCALE_SMONTHNAME12
,"Dicembre")
893 LOCVAL(LOCALE_SMONTHNAME13
,"")
894 LOCVAL(LOCALE_SABBREVMONTHNAME1
,"Gen")
895 LOCVAL(LOCALE_SABBREVMONTHNAME2
,"Feb")
896 LOCVAL(LOCALE_SABBREVMONTHNAME3
,"Mar")
897 LOCVAL(LOCALE_SABBREVMONTHNAME4
,"Apr")
898 LOCVAL(LOCALE_SABBREVMONTHNAME5
,"Mag")
899 LOCVAL(LOCALE_SABBREVMONTHNAME6
,"Giu")
900 LOCVAL(LOCALE_SABBREVMONTHNAME7
,"Lug")
901 LOCVAL(LOCALE_SABBREVMONTHNAME8
,"Ago")
902 LOCVAL(LOCALE_SABBREVMONTHNAME9
,"Set")
903 LOCVAL(LOCALE_SABBREVMONTHNAME10
,"Ott")
904 LOCVAL(LOCALE_SABBREVMONTHNAME11
,"Nov")
905 LOCVAL(LOCALE_SABBREVMONTHNAME12
,"Dic")
906 LOCVAL(LOCALE_SABBREVMONTHNAME13
,"")
908 LOCVAL(LOCALE_SPOSITIVESIGN)
909 LOCVAL(LOCALE_SNEGATIVESIGN)
910 LOCVAL(LOCALE_IPOSSIGNPOSN)
911 LOCVAL(LOCALE_INEGSIGNPOSN)
912 LOCVAL(LOCALE_IPOSSYMPRECEDES)
913 LOCVAL(LOCALE_IPOSSEPBYSPACE)
914 LOCVAL(LOCALE_INEGSYMPRECEDES)
915 LOCVAL(LOCALE_INEGSEPBYSPACE)
917 break; /* LANG(It) */
920 LOCVAL(LOCALE_ILANGUAGE
, "0409")
921 LOCVAL(LOCALE_SLANGUAGE
, "English (United States)")
922 LOCVAL(LOCALE_SENGLANGUAGE
, "English")
923 LOCVAL(LOCALE_SABBREVLANGNAME
, "ENU")
924 LOCVAL(LOCALE_SNATIVELANGNAME
, "English")
925 LOCVAL(LOCALE_ICOUNTRY
, "1")
926 LOCVAL(LOCALE_SCOUNTRY
, "United States")
927 LOCVAL(LOCALE_SENGCOUNTRY
, "United States")
928 LOCVAL(LOCALE_SABBREVCTRYNAME
, "USA")
929 LOCVAL(LOCALE_SNATIVECTRYNAME
, "United States")
930 LOCVAL(LOCALE_IDEFAULTLANGUAGE
, "0409")
931 LOCVAL(LOCALE_IDEFAULTCOUNTRY
, "1")
932 LOCVAL(LOCALE_IDEFAULTCODEPAGE
, "437")
933 LOCVAL(LOCALE_IDEFAULTANSICODEPAGE
, "1252")
934 LOCVAL(LOCALE_SLIST
, ",")
935 LOCVAL(LOCALE_IMEASURE
, "1")
936 LOCVAL(LOCALE_SDECIMAL
, ".")
937 LOCVAL(LOCALE_STHOUSAND
, ",")
938 LOCVAL(LOCALE_SGROUPING
, "3;0")
939 LOCVAL(LOCALE_IDIGITS
, "2")
940 LOCVAL(LOCALE_ILZERO
, "1")
941 LOCVAL(LOCALE_INEGNUMBER
, "1")
942 LOCVAL(LOCALE_SNATIVEDIGITS
, "0123456789")
943 LOCVAL(LOCALE_SCURRENCY
, "$")
944 LOCVAL(LOCALE_SINTLSYMBOL
, "USD")
945 LOCVAL(LOCALE_SMONDECIMALSEP
, ".")
946 LOCVAL(LOCALE_SMONTHOUSANDSEP
, ",")
947 LOCVAL(LOCALE_SMONGROUPING
, "3;0")
948 LOCVAL(LOCALE_ICURRDIGITS
, "2")
949 LOCVAL(LOCALE_IINTLCURRDIGITS
, "2")
950 LOCVAL(LOCALE_ICURRENCY
, "0")
951 LOCVAL(LOCALE_INEGCURR
, "0")
952 LOCVAL(LOCALE_SDATE
, "/")
953 LOCVAL(LOCALE_STIME
, ":")
954 LOCVAL(LOCALE_SSHORTDATE
, "M/d/yy")
955 LOCVAL(LOCALE_SLONGDATE
, "dddd, MMMM dd, yyyy")
956 LOCVAL(LOCALE_STIMEFORMAT
, "h:mm:ss tt")
957 LOCVAL(LOCALE_IDATE
, "0")
958 LOCVAL(LOCALE_ILDATE
, "0")
959 LOCVAL(LOCALE_ITIME
, "0")
960 LOCVAL(LOCALE_ITIMEMARKPOSN
, "0")
961 LOCVAL(LOCALE_ICENTURY
, "0")
962 LOCVAL(LOCALE_ITLZERO
, "0")
963 LOCVAL(LOCALE_IDAYLZERO
, "0")
964 LOCVAL(LOCALE_IMONLZERO
, "0")
965 LOCVAL(LOCALE_S1159
, "AM")
966 LOCVAL(LOCALE_S2359
, "PM")
967 LOCVAL(LOCALE_ICALENDARTYPE
, "1")
968 LOCVAL(LOCALE_IOPTIONALCALENDAR
, "0")
969 LOCVAL(LOCALE_IFIRSTDAYOFWEEK
, "6")
970 LOCVAL(LOCALE_IFIRSTWEEKOFYEAR
, "0")
971 LOCVAL(LOCALE_SDAYNAME1
, "Monday")
972 LOCVAL(LOCALE_SDAYNAME2
, "Tuesday")
973 LOCVAL(LOCALE_SDAYNAME3
, "Wednesday")
974 LOCVAL(LOCALE_SDAYNAME4
, "Thursday")
975 LOCVAL(LOCALE_SDAYNAME5
, "Friday")
976 LOCVAL(LOCALE_SDAYNAME6
, "Saturday")
977 LOCVAL(LOCALE_SDAYNAME7
, "Sunday")
978 LOCVAL(LOCALE_SABBREVDAYNAME1
, "Mon")
979 LOCVAL(LOCALE_SABBREVDAYNAME2
, "Tue")
980 LOCVAL(LOCALE_SABBREVDAYNAME3
, "Wed")
981 LOCVAL(LOCALE_SABBREVDAYNAME4
, "Thu")
982 LOCVAL(LOCALE_SABBREVDAYNAME5
, "Fri")
983 LOCVAL(LOCALE_SABBREVDAYNAME6
, "Sat")
984 LOCVAL(LOCALE_SABBREVDAYNAME7
, "Sun")
985 LOCVAL(LOCALE_SMONTHNAME1
, "January")
986 LOCVAL(LOCALE_SMONTHNAME2
, "February")
987 LOCVAL(LOCALE_SMONTHNAME3
, "March")
988 LOCVAL(LOCALE_SMONTHNAME4
, "April")
989 LOCVAL(LOCALE_SMONTHNAME5
, "May")
990 LOCVAL(LOCALE_SMONTHNAME6
, "June")
991 LOCVAL(LOCALE_SMONTHNAME7
, "July")
992 LOCVAL(LOCALE_SMONTHNAME8
, "August")
993 LOCVAL(LOCALE_SMONTHNAME9
, "September")
994 LOCVAL(LOCALE_SMONTHNAME10
, "October")
995 LOCVAL(LOCALE_SMONTHNAME11
, "November")
996 LOCVAL(LOCALE_SMONTHNAME12
, "December")
997 LOCVAL(LOCALE_SMONTHNAME13
, "")
998 LOCVAL(LOCALE_SABBREVMONTHNAME1
, "Jan")
999 LOCVAL(LOCALE_SABBREVMONTHNAME2
, "Feb")
1000 LOCVAL(LOCALE_SABBREVMONTHNAME3
, "Mar")
1001 LOCVAL(LOCALE_SABBREVMONTHNAME4
, "Apr")
1002 LOCVAL(LOCALE_SABBREVMONTHNAME5
, "May")
1003 LOCVAL(LOCALE_SABBREVMONTHNAME6
, "Jun")
1004 LOCVAL(LOCALE_SABBREVMONTHNAME7
, "Jul")
1005 LOCVAL(LOCALE_SABBREVMONTHNAME8
, "Aug")
1006 LOCVAL(LOCALE_SABBREVMONTHNAME9
, "Sep")
1007 LOCVAL(LOCALE_SABBREVMONTHNAME10
, "Oct")
1008 LOCVAL(LOCALE_SABBREVMONTHNAME11
, "Nov")
1009 LOCVAL(LOCALE_SABBREVMONTHNAME12
, "Dec")
1010 LOCVAL(LOCALE_SABBREVMONTHNAME13
, "")
1011 LOCVAL(LOCALE_SPOSITIVESIGN
, "")
1012 LOCVAL(LOCALE_SNEGATIVESIGN
, "-")
1013 LOCVAL(LOCALE_IPOSSIGNPOSN
, "3")
1014 LOCVAL(LOCALE_INEGSIGNPOSN
, "0")
1015 LOCVAL(LOCALE_IPOSSYMPRECEDES
, "1")
1016 LOCVAL(LOCALE_IPOSSEPBYSPACE
, "0")
1017 LOCVAL(LOCALE_INEGSYMPRECEDES
, "1")
1018 LOCVAL(LOCALE_INEGSEPBYSPACE
, "0")
1019 break; /* LANG(0x0409) (U.S. English) */
1022 LOCVAL(LOCALE_ILANGUAGE
, "0809")
1023 LOCVAL(LOCALE_SLANGUAGE
, "English (United Kingdom)")
1024 LOCVAL(LOCALE_SENGLANGUAGE
, "English")
1025 LOCVAL(LOCALE_SABBREVLANGNAME
, "ENG")
1026 LOCVAL(LOCALE_SNATIVELANGNAME
, "English")
1027 LOCVAL(LOCALE_ICOUNTRY
, "44")
1028 LOCVAL(LOCALE_SCOUNTRY
, "United Kingdom")
1029 LOCVAL(LOCALE_SENGCOUNTRY
, "United Kingdom")
1030 LOCVAL(LOCALE_SABBREVCTRYNAME
, "GBR")
1031 LOCVAL(LOCALE_SNATIVECTRYNAME
, "United Kingdom")
1032 LOCVAL(LOCALE_IDEFAULTLANGUAGE
, "0809")
1033 LOCVAL(LOCALE_IDEFAULTCOUNTRY
, "44")
1034 LOCVAL(LOCALE_IDEFAULTCODEPAGE
, "850")
1035 LOCVAL(LOCALE_IDEFAULTANSICODEPAGE
, "1252")
1036 LOCVAL(LOCALE_SLIST
, ",")
1037 LOCVAL(LOCALE_IMEASURE
, "0")
1038 LOCVAL(LOCALE_SDECIMAL
, ".")
1039 LOCVAL(LOCALE_STHOUSAND
, ",")
1040 LOCVAL(LOCALE_SGROUPING
, "3;0")
1041 LOCVAL(LOCALE_IDIGITS
, "2")
1042 LOCVAL(LOCALE_ILZERO
, "1")
1043 LOCVAL(LOCALE_INEGNUMBER
, "1")
1044 LOCVAL(LOCALE_SNATIVEDIGITS
, "0123456789")
1045 LOCVAL(LOCALE_SCURRENCY
, "£")
1046 LOCVAL(LOCALE_SINTLSYMBOL
, "GBP")
1047 LOCVAL(LOCALE_SMONDECIMALSEP
, ".")
1048 LOCVAL(LOCALE_SMONTHOUSANDSEP
, ",")
1049 LOCVAL(LOCALE_SMONGROUPING
, "3;0")
1050 LOCVAL(LOCALE_ICURRDIGITS
, "2")
1051 LOCVAL(LOCALE_IINTLCURRDIGITS
, "2")
1052 LOCVAL(LOCALE_ICURRENCY
, "0")
1053 LOCVAL(LOCALE_INEGCURR
, "1")
1054 LOCVAL(LOCALE_SDATE
, "/")
1055 LOCVAL(LOCALE_STIME
, ":")
1056 LOCVAL(LOCALE_SSHORTDATE
, "dd/MM/yy")
1057 LOCVAL(LOCALE_SLONGDATE
, "dd MMMM yyyy")
1058 LOCVAL(LOCALE_STIMEFORMAT
, "HH:mm:ss")
1059 LOCVAL(LOCALE_IDATE
, "1")
1060 LOCVAL(LOCALE_ILDATE
, "1")
1061 LOCVAL(LOCALE_ITIME
, "1")
1062 LOCVAL(LOCALE_ITIMEMARKPOSN
, "0")
1063 LOCVAL(LOCALE_ICENTURY
, "0")
1064 LOCVAL(LOCALE_ITLZERO
, "1")
1065 LOCVAL(LOCALE_IDAYLZERO
, "1")
1066 LOCVAL(LOCALE_IMONLZERO
, "1")
1067 LOCVAL(LOCALE_S1159
, "")
1068 LOCVAL(LOCALE_S2359
, "")
1069 LOCVAL(LOCALE_ICALENDARTYPE
, "1")
1070 LOCVAL(LOCALE_IOPTIONALCALENDAR
, "0")
1071 LOCVAL(LOCALE_IFIRSTDAYOFWEEK
, "0")
1072 LOCVAL(LOCALE_IFIRSTWEEKOFYEAR
, "0")
1073 LOCVAL(LOCALE_SDAYNAME1
, "Monday")
1074 LOCVAL(LOCALE_SDAYNAME2
, "Tuesday")
1075 LOCVAL(LOCALE_SDAYNAME3
, "Wednesday")
1076 LOCVAL(LOCALE_SDAYNAME4
, "Thursday")
1077 LOCVAL(LOCALE_SDAYNAME5
, "Friday")
1078 LOCVAL(LOCALE_SDAYNAME6
, "Saturday")
1079 LOCVAL(LOCALE_SDAYNAME7
, "Sunday")
1080 LOCVAL(LOCALE_SABBREVDAYNAME1
, "Mon")
1081 LOCVAL(LOCALE_SABBREVDAYNAME2
, "Tue")
1082 LOCVAL(LOCALE_SABBREVDAYNAME3
, "Wed")
1083 LOCVAL(LOCALE_SABBREVDAYNAME4
, "Thu")
1084 LOCVAL(LOCALE_SABBREVDAYNAME5
, "Fri")
1085 LOCVAL(LOCALE_SABBREVDAYNAME6
, "Sat")
1086 LOCVAL(LOCALE_SABBREVDAYNAME7
, "Sun")
1087 LOCVAL(LOCALE_SMONTHNAME1
, "January")
1088 LOCVAL(LOCALE_SMONTHNAME2
, "February")
1089 LOCVAL(LOCALE_SMONTHNAME3
, "March")
1090 LOCVAL(LOCALE_SMONTHNAME4
, "April")
1091 LOCVAL(LOCALE_SMONTHNAME5
, "May")
1092 LOCVAL(LOCALE_SMONTHNAME6
, "June")
1093 LOCVAL(LOCALE_SMONTHNAME7
, "July")
1094 LOCVAL(LOCALE_SMONTHNAME8
, "August")
1095 LOCVAL(LOCALE_SMONTHNAME9
, "September")
1096 LOCVAL(LOCALE_SMONTHNAME10
, "October")
1097 LOCVAL(LOCALE_SMONTHNAME11
, "November")
1098 LOCVAL(LOCALE_SMONTHNAME12
, "December")
1099 LOCVAL(LOCALE_SMONTHNAME13
, "")
1100 LOCVAL(LOCALE_SABBREVMONTHNAME1
, "Jan")
1101 LOCVAL(LOCALE_SABBREVMONTHNAME2
, "Feb")
1102 LOCVAL(LOCALE_SABBREVMONTHNAME3
, "Mar")
1103 LOCVAL(LOCALE_SABBREVMONTHNAME4
, "Apr")
1104 LOCVAL(LOCALE_SABBREVMONTHNAME5
, "May")
1105 LOCVAL(LOCALE_SABBREVMONTHNAME6
, "Jun")
1106 LOCVAL(LOCALE_SABBREVMONTHNAME7
, "Jul")
1107 LOCVAL(LOCALE_SABBREVMONTHNAME8
, "Aug")
1108 LOCVAL(LOCALE_SABBREVMONTHNAME9
, "Sep")
1109 LOCVAL(LOCALE_SABBREVMONTHNAME10
, "Oct")
1110 LOCVAL(LOCALE_SABBREVMONTHNAME11
, "Nov")
1111 LOCVAL(LOCALE_SABBREVMONTHNAME12
, "Dec")
1112 LOCVAL(LOCALE_SABBREVMONTHNAME13
, "")
1113 LOCVAL(LOCALE_SPOSITIVESIGN
, "")
1114 LOCVAL(LOCALE_SNEGATIVESIGN
, "-")
1115 LOCVAL(LOCALE_IPOSSIGNPOSN
, "3")
1116 LOCVAL(LOCALE_INEGSIGNPOSN
, "3")
1117 LOCVAL(LOCALE_IPOSSYMPRECEDES
, "1")
1118 LOCVAL(LOCALE_IPOSSEPBYSPACE
, "0")
1119 LOCVAL(LOCALE_INEGSYMPRECEDES
, "1")
1120 LOCVAL(LOCALE_INEGSEPBYSPACE
, "0")
1121 break; /* LANG(0x0809) (U.K. English) */
1123 /*Insert other languages here*/
1131 if(!retString
)fprintf(stderr
,"Unkown LC type %lX\n",LCType
);
1132 else fprintf(stderr
,"'%s' not supported for your language.\n",
1137 if(retLen
>len
)retLen
=len
;
1138 lstrcpyn32A(buf
,retString
,len
);
1142 /***********************************************************************
1143 * GetLocaleInfo32W (KERNEL32.230)
1144 * Is the last parameter really WORD for Win16?
1146 INT32
GetLocaleInfo32W(LCID lcid
,LCTYPE LCType
,LPWSTR wbuf
,INT32 len
)
1149 LPSTR abuf
= (LPSTR
) wbuf
;
1150 INT32 n
= GetLocaleInfoA(lcid
, LCType
, abuf
, len
);
1151 for (i
= n
; i
> 0; --i
) {
1157 /***********************************************************************
1158 * CompareString16 (OLE2NLS.8)
1160 UINT16
CompareString16(DWORD lcid
,DWORD fdwStyle
,
1161 LPCSTR s1
,DWORD l1
,LPCSTR s2
,DWORD l2
)
1163 return (UINT16
)CompareString32A(lcid
,fdwStyle
,s1
,l1
,s2
,l2
);
1166 /***********************************************************************
1167 * CompareString32A (KERNEL32.29)
1168 * This implementation ignores the locale
1171 UINT32
CompareString32A(DWORD lcid
, DWORD fdwStyle
,
1172 LPCSTR s1
, DWORD l1
, LPCSTR s2
,DWORD l2
)
1175 if(fdwStyle
& NORM_IGNORENONSPACE
)
1177 fprintf(stdnimp
, "CompareStringA: IGNORENONSPACE not supprted\n");
1179 if(fdwStyle
& NORM_IGNORESYMBOLS
)
1180 fprintf(stdnimp
, "CompareStringA: IGNORESYMBOLS not supported\n");
1181 /* Is strcmp defaulting to string sort or to word sort?? */
1182 /* FIXME: Handle NORM_STRINGSORT */
1183 l1
= (l1
==-1)?strlen(s1
):l1
;
1184 l2
= (l2
==-1)?strlen(s2
):l2
;
1185 len
= l1
<l2
? l1
:l2
;
1186 ret
= (fdwStyle
& NORM_IGNORECASE
) ?
1187 lstrncmpi32A(s1
,s2
,len
) : lstrncmp32A(s1
,s2
,len
);
1188 /* not equal, return 1 or 3 */
1189 if(ret
!=0)return ret
+2;
1190 /* same len, return 2 */
1192 /* the longer one is lexically greater */
1193 return (l1
<l2
)? 1 : 3;
1196 /***********************************************************************
1197 * CompareString32W (KERNEL32.30)
1198 * This implementation ignores the locale
1201 UINT32
CompareString32W(DWORD lcid
, DWORD fdwStyle
,
1202 LPCWSTR s1
, DWORD l1
, LPCWSTR s2
,DWORD l2
)
1205 if(fdwStyle
& NORM_IGNORENONSPACE
)
1206 fprintf(stdnimp
,"CompareStringW:IGNORENONSPACE not supprted\n");
1207 if(fdwStyle
& NORM_IGNORESYMBOLS
)
1208 fprintf(stdnimp
,"CompareStringW:IGNORESYMBOLS not supported\n");
1210 /* Is strcmp defaulting to string sort or to word sort?? */
1211 /* FIXME: Handle NORM_STRINGSORT */
1212 l1
= (l1
==-1)?lstrlen32W(s1
):l1
;
1213 l2
= (l2
==-1)?lstrlen32W(s2
):l2
;
1214 len
= l1
<l2
? l1
:l2
;
1215 ret
= (fdwStyle
& NORM_IGNORECASE
) ?
1216 lstrncmpi32W(s1
,s2
,len
) : lstrncmp32W(s1
,s2
,len
);
1217 /* not equal, return 1 or 3 */
1218 if(ret
!=0) return ret
+2;
1219 /* same len, return 2 */
1220 if(l1
==l2
) return 2;
1221 /* the longer one is lexically greater */
1222 return (l1
<l2
)? 1 : 3;
1225 /***********************************************************************
1226 * SetLocalInfoA (KERNEL32.499)
1228 BOOL
SetLocaleInfoA(DWORD lcid
, DWORD lctype
, LPCSTR data
) {
1229 fprintf(stdnimp
,"SetLocaleInfoA(%ld,%ld,%s)\n",lcid
,lctype
,data
);