RtlUpperChar (was: some ntdll functions) [Virus checked]

Dan Kegel dank at kegel.com
Wed Feb 5 11:38:08 CST 2003


thomas.mertes at t-mobile.at wrote:
> My solution for this is:
> ...
> CHAR WINAPI RtlUpperChar( CHAR ch )
> {
>     WCHAR wch;
> 
>     wch = toupperW(((WCHAR) ch) & 0xff);
>     if (wch >> 8) {
>         return ch;
>     } else {
>         return (CHAR) wch;
>     }
> }

That looks like a horrible kludge.  Before we settle on
something like this, we should probably consult the
people on the unicode mailing list to see what they
suggest.
- Dan

-- 
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045




More information about the wine-devel mailing list