ReactOS  0.4.13-dev-257-gfabbd7c
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 350 of file lcformat.c.

351 {
353 
354  switch (PRIMARYLANGID(lcid))
355  {
356  case LANG_ARMENIAN:
357  case LANG_DIVEHI:
358  case LANG_GEORGIAN:
359  case LANG_GUJARATI:
360  case LANG_HINDI:
361  case LANG_KANNADA:
362  case LANG_KONKANI:
363  case LANG_MARATHI:
364  case LANG_PUNJABI:
365  case LANG_SANSKRIT:
366  TRACE("lcid 0x%08x: langid 0x%4x is Unicode Only\n", lcid, PRIMARYLANGID(lcid));
367  return TRUE;
368  default:
369  return FALSE;
370  }
371 }
#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:1502
#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().