511{
513 ULONG nHiWord, nLoWord = 0x0deadbee;
514 const unsigned char *
str = (
const unsigned char *)lpStr, *pnLookup =
NULL;
515
517 return 0;
518
520 {
521 default:
522 fprintf(
stderr,
"Unknown lcid %x, treating as latin-based, please report\n", lcid);
523
547
548#ifdef LANG_GAELIC
550#endif
551#ifdef LANG_TAJIK
553#endif
554#ifdef LANG_ROMANSH
556#endif
557#ifdef LANG_SUTU
559#endif
560#ifdef LANG_TSONGA
562#endif
563#ifdef LANG_VENDA
565#endif
566#ifdef LANG_ESPERANTO
568#endif
569#ifdef LANG_WALON
571#endif
572#ifdef LANG_CORNISH
574#endif
575 nOffset = 16;
577 break;
580 nOffset = 32;
582 break;
584 nOffset = 48;
586 break;
588 nOffset = 64;
590 break;
592 nOffset = 80;
594 break;
596 nOffset = 112;
598 break;
600 nOffset = 128;
602 break;
604 nOffset = 144;
606 break;
608 nOffset = 160;
610 break;
613 {
614 nOffset = 176;
616 }
617 else
618 {
619 nOffset = 16;
621 }
622 break;
625 nOffset = 208;
627 break;
629 nOffset = 224;
631 break;
632 }
633
634 nHiWord = (nOffset | nMask) << 16;
635
637 {
638 nLoWord = 37 * nLoWord + pnLookup[*
str > 0x7f && nMask ? *
str + 0x80 : *
str];
640 }
641
642 nLoWord = (nLoWord % 65599) & 0xffff;
643
644 return nHiWord | nLoWord;
645}
static const unsigned char Lookup_16[128 *3]
static const unsigned char Lookup_208[128 *3]
static const unsigned char Lookup_112[128 *3]
static const unsigned char Lookup_48[128 *3]
static const unsigned char Lookup_128[128 *3]
static const unsigned char Lookup_144[128 *3]
static const unsigned char Lookup_80[128 *3]
static const unsigned char Lookup_224[128 *3]
static const unsigned char Lookup_160[128 *3]
static const unsigned char Lookup_32[128 *3]
static const unsigned char Lookup_64[128 *3]
static const unsigned char Lookup_176[128 *3]
_Check_return_opt_ _CRTIMP int __cdecl fprintf(_Inout_ FILE *_File, _In_z_ _Printf_format_string_ const char *_Format,...)
#define SUBLANG_NORWEGIAN_NYNORSK
#define LANGIDFROMLCID(l)
#define LANG_UPPER_SORBIAN