André Hentschel <nerv(a)dawncrow.de> writes:
> /* test srclen = 0 */
> SetLastError(0xdeadbeef);
> - ret = LCMapStringW(LOCALE_USER_DEFAULT, 0, upper_case, 0, buf, sizeof(buf)/sizeof(WCHAR));
> - ok(!ret, "LCMapStringW should fail with srclen = 0\n");
> + ret = LCMapStringU(0, upper_case, 0, buf, sizeof(buf)/sizeof(WCHAR));
> + ok(!ret, "LCMapStringU should fail with srclen = 0\n");
This is very confusing, there's no such API as LCMapStringU. You should
display the correct function being tested in all the error messages, and
pick a better name for the function pointer.
--
Alexandre Julliard
julliard(a)winehq.org