[PATCH 1/5] gdi32/tests: Fix is_win9x test.
Paul Vriens
paul.vriens.wine at gmail.com
Tue Mar 10 05:34:20 CDT 2009
Huw Davies wrote:
> ---
> dlls/gdi32/tests/bitmap.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
>
> ------------------------------------------------------------------------
>
>
Wouldn't it be better to do something like:
SetLastError(0xdeadbeef);
GetWindowLongPtrW(GetDesktopWindow(), GWLP_WNDPROC);
is_win9x = (GetLastError() == ERROR_CALL_NOT_IMPLEMENTED);
The problem with actually using GetVersion() is that you should be able to run
Wine in Win98 mode (winecfg) and have the tests still succeed.
--
Cheers,
Paul.
More information about the wine-devel
mailing list