Fixing the last failing tests

Dan Kegel dank at kegel.com
Tue Feb 12 20:20:59 CST 2008


Maarten wrote:
> An example is IsWindowUnicode. It always returns TRUE on XP, but it
> won't do that on 9x. That would mean something like:
> ok(IsWindowUnicode() || !IsWindowUnicode(), "How can this fail?");

Maybe you can do something like
  if (CreateWindowExW doesn't work) {
    /* win95 without MSLU */
    ok(!IsWindowUnicode());
  } else {
    /* win95 with MSLU, or something with native unicode support */
    ok(IsWindowUnicode());
  }



More information about the wine-devel mailing list