512{
513 unsigned int nOffset, nMask = skind ==
SYS_MAC ? 1 : 0;
514 unsigned int nHiWord, nLoWord = 0x0deadbee;
515 const unsigned char *
str = (
const unsigned char *)lpStr, *pnLookup =
NULL;
516
518 return 0;
519
521 {
522 default:
523 nOffset = 16;
525 break;
528 nOffset = 32;
530 break;
532 nOffset = 48;
534 break;
536 nOffset = 64;
538 break;
540 nOffset = 80;
542 break;
544 nOffset = 112;
546 break;
548 nOffset = 128;
550 break;
552 nOffset = 144;
554 break;
556 nOffset = 160;
558 break;
561 {
562 nOffset = 176;
564 }
565 else
566 {
567 nOffset = 16;
569 }
570 break;
573 nOffset = 208;
575 break;
577 nOffset = 224;
579 break;
580 }
581
582 nHiWord = (nOffset | nMask) << 16;
583
585 {
586 nLoWord = 37 * nLoWord + pnLookup[*
str > 0x7f && nMask ? *
str + 0x80 : *
str];
588 }
589
590 nLoWord = (nLoWord % 65599) & 0xffff;
591
592 return nHiWord | nLoWord;
593}
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]
#define SUBLANG_NORWEGIAN_NYNORSK
#define LANGIDFROMLCID(l)