ReactOS  0.4.12-dev-934-g9a4676f
lcformat_private.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

BOOL NLS_IsUnicodeOnlyLcid (LCID)
 

Function Documentation

◆ NLS_IsUnicodeOnlyLcid()

BOOL NLS_IsUnicodeOnlyLcid ( LCID  )

Definition at line 343 of file lcformat.c.

344 {
346 
347  switch (PRIMARYLANGID(lcid))
348  {
349  case LANG_ARMENIAN:
350  case LANG_DIVEHI:
351  case LANG_GEORGIAN:
352  case LANG_GUJARATI:
353  case LANG_HINDI:
354  case LANG_KANNADA:
355  case LANG_KONKANI:
356  case LANG_MARATHI:
357  case LANG_PUNJABI:
358  case LANG_SANSKRIT:
359  TRACE("lcid 0x%08x: langid 0x%4x is Unicode Only\n", lcid, PRIMARYLANGID(lcid));
360  return TRUE;
361  default:
362  return FALSE;
363  }
364 }
#define TRUE
Definition: types.h:120
#define LANG_HINDI
Definition: nls.h:68
#define LANG_DIVEHI
Definition: nls.h:50
LCID WINAPI ConvertDefaultLocale(LCID lcid)
Definition: lang.c:1499
#define LANG_KONKANI
Definition: nls.h:83
#define TRACE(s)
Definition: solgame.cpp:4
#define LANG_SANSKRIT
Definition: nls.h:115
#define LANG_KANNADA
Definition: nls.h:77
#define LANG_MARATHI
Definition: nls.h:98
#define LANG_PUNJABI
Definition: nls.h:109
#define LANG_ARMENIAN
Definition: nls.h:30
#define LANG_GEORGIAN
Definition: nls.h:61
#define LANG_GUJARATI
Definition: nls.h:65
#define PRIMARYLANGID(l)
Definition: nls.h:16

Referenced by GetCalendarInfoA(), GetCurrencyFormatA(), GetNumberFormatA(), and NLS_GetDateTimeFormatA().