Changeset 8938 for trunk/src


Ignore:
Timestamp:
Jul 30, 2002, 2:55:06 PM (23 years ago)
Author:
sandervl
Message:

PF: Unicode update

Location:
trunk/src/kernel32
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kernel32/KERNEL32.DEF

    r8910 r8938  
    1 ; $Id: KERNEL32.DEF,v 1.143 2002-07-23 13:25:33 sandervl Exp $
     1; $Id: KERNEL32.DEF,v 1.144 2002-07-30 12:55:04 sandervl Exp $
    22
    33;Basis is Windows95 KERNEL32
     
    11821182    CPUFeatures                                                   @2005 NONAME
    11831183
    1184     _toupperW@4                                                   @2006 NONAME
    1185     _tolowerW@4                                                   @2007 NONAME
    1186     get_char_typeW                                                @2008 NONAME
     1184    wctype_table                                                  @2006 NONAME
     1185    casemap_upper                                                 @2007 NONAME
     1186    casemap_lower                                                 @2008 NONAME
     1187
     1188; @@PF this exports were cut-out as a result of migration to new unicode
     1189; header 29.07.2002 and replaced by 3 new entries
     1190;    _toupperW@4                                                   @2006 NONAME
     1191;    _tolowerW@4                                                   @2007 NONAME
     1192;    get_char_typeW                                                @2008 NONAME
    11871193
    11881194    _GetProcessTIBSel@0                                           @2012 NONAME
     
    11921198    _RegisterCustomDriver@36                                      @2015 NONAME
    11931199
    1194     strcmpiW                                                      @2020 NONAME
     1200    strcmpiW                                                      @2020
    11951201    strstrW                                                       @2021 NONAME
    11961202    strncmpiW                                                     @2022 NONAME
  • trunk/src/kernel32/codepage.c

    r7832 r8938  
    1 /* $Id: codepage.c,v 1.1 2002-02-07 16:34:52 sandervl Exp $
     1/* $Id: codepage.c,v 1.2 2002-07-30 12:55:05 sandervl Exp $
    22 *
    33 * Code page functions
     
    510510    return GetStringTypeA(locale, type, src, count, chartype);
    511511}
    512 //******************************************************************************
    513 //******************************************************************************
    514 WCHAR WIN32API tolowerW( WCHAR ch )
    515 {
    516     extern const WCHAR casemap_lower[];
    517     return ch + casemap_lower[casemap_lower[ch >> 8] + (ch & 0xff)];
    518 }
    519 //******************************************************************************
    520 //******************************************************************************
    521 WCHAR WIN32API toupperW( WCHAR ch )
    522 {
    523     extern const WCHAR casemap_upper[];
    524     return ch + casemap_upper[casemap_upper[ch >> 8] + (ch & 0xff)];
    525 }
    526 //******************************************************************************
    527 /* the character type contains the C1_* flags in the low 12 bits */
    528 /* and the C2_* type in the high 4 bits */
    529 //******************************************************************************
    530 unsigned short get_char_typeW( WCHAR ch )
    531 {
    532     extern const unsigned short wctype_table[];
    533     return wctype_table[wctype_table[ch >> 8] + (ch & 0xff)];
    534 }
    535 //******************************************************************************
    536 //******************************************************************************
  • trunk/src/kernel32/kernel32dbg.def

    r8910 r8938  
    1 ; $Id: kernel32dbg.def,v 1.18 2002-07-23 13:25:34 sandervl Exp $
     1; $Id: kernel32dbg.def,v 1.19 2002-07-30 12:55:05 sandervl Exp $
    22
    33;Basis is Windows95 KERNEL32
     
    11821182    CPUFeatures                                                   @2005 NONAME
    11831183
    1184     _toupperW@4                                                   @2006 NONAME
    1185     _tolowerW@4                                                   @2007 NONAME
    1186     get_char_typeW                                                @2008 NONAME
     1184    wctype_table                                                  @2006 NONAME
     1185    casemap_upper                                                 @2007 NONAME
     1186    casemap_lower                                                 @2008 NONAME
     1187
     1188; @@PF this exports were cut-out as a result of migration to new unicode
     1189; header 29.07.2002 and replaced by 3 new entries
     1190;    _toupperW@4                                                   @2006 NONAME
     1191;    _tolowerW@4                                                   @2007 NONAME
     1192;    get_char_typeW                                                @2008 NONAME
    11871193
    11881194    _GetProcessTIBSel@0                                           @2012 NONAME
  • trunk/src/kernel32/ole2nls.c

    r8741 r8938  
    1 /* $Id: ole2nls.c,v 1.4 2002-06-21 08:36:40 sandervl Exp $
     1/* $Id: ole2nls.c,v 1.5 2002-07-30 12:55:06 sandervl Exp $
    22 *
    33 *  National Language Support library
     
    19021902  else
    19031903  {
    1904     WCHAR (* WINAPI f)(WCHAR) = NULL;
     1904    int (*f)(int)=identity;
    19051905
    19061906    if (dstlen==0)
     
    19131913
    19141914    if (mapflags & LCMAP_UPPERCASE)
    1915       f = toupperW;
     1915      f = toupper;
    19161916    else if (mapflags & LCMAP_LOWERCASE)
    1917       f = tolowerW;
     1917      f = tolower;
    19181918    if (f)
    19191919    {
Note: See TracChangeset for help on using the changeset viewer.