ntdll[1/2]: add some tests for RtlIsTextUnicode

Mikolaj Zalewski mikolajz at google.com
Tue Oct 16 20:46:27 CDT 2007


I thought that RtlIsUnicodeString(.., IS_TEXT_UNICODE_REVERSE_MASK)
will return TRUE if the string is big endian Unicode but it doesn't -
our implementation is correct. But tests can still be useful. They
detected a problem of detecting an ASCII string as Unicode because of
the trailing NUL - see next patch.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0002-ntdll-add-some-tests-for-RtlIsTextUnicode.txt
Url: http://www.winehq.org/pipermail/wine-patches/attachments/20071016/7c3161a5/attachment.txt 


More information about the wine-patches mailing list