Re: [PATCH 1/5] gdi32/tests: Fix is_win9x test.
10 Mar
2009
10 Mar
'09
10:34 a.m.
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.
6131
Age (days ago)
6131
Last active (days ago)
0 comments
1 participants
participants (1)
-
Paul Vriens