Bug Fix: WM_GETTEXT should return NULL string if LB_GETCURSEL is LB_ERR

Dmitry Timoshkov dmitry at baikal.ru
Tue Jul 16 21:34:52 CDT 2002


"Francois Gouget" <fgouget at free.fr> wrote:

> 'H','e','n','c','e',' ','t','h','e',' ','t','e','r','m',' ',
> 'k','l','u','d','g','e','.',
> ';','-',')'

Especially taking into account that it's very unlikely that
anybody will write such strings using anything except plain
ASCII.

UNICODE_STRING fooW;
char foo[] = "This is my answer in English. It's not a kluge."
             "Это мой ответ на русском. Не такой уж и ужасный :-)";

RtlCreateUnicodeStringFromAsciiz(&fooW, foo);
CreateFileW(fooW.Buffer, ....);

--
Dmitry.






More information about the wine-devel mailing list