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.


Reply via email to