Michael Karcher wine@mkarcher.dialup.fu-berlin.de writes:
In commit 48bb687dfb00b00f789b688459ad5d0ec77a617b, win9x detection was changed to use the desktop window instead of a private EDIT window as target for GetWindowLongW. GetWindowLongW(GetDesktopWindow(),GWLP_WNDPROC) fails on wine (and probably on WinNT as well, as the counts on test.winehq.org indicate).
I am unsure about this patch, as I don't know whether is_win9x now gets true if one has a Windows 98 system with the Microsoft Layer for Unicode installed.
The right way is to get rid of the check, especially since the GetWindowLongW behavior is irrelevant to what the test is doing. It should be using something like broken() instead.