Author: tkreuzer
Date: Fri Feb 1 00:29:03 2008
New Revision: 32071
URL:
http://svn.reactos.org/svn/reactos?rev=32071&view=rev
Log:
fix definitions of WM_MOUSEWHEEL and WM_MOUSELAST
Modified:
trunk/reactos/include/psdk/winuser.h
Modified: trunk/reactos/include/psdk/winuser.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/psdk/winuser.h?rev…
==============================================================================
--- trunk/reactos/include/psdk/winuser.h (original)
+++ trunk/reactos/include/psdk/winuser.h Fri Feb 1 00:29:03 2008
@@ -1685,6 +1685,7 @@
#define WM_KEYLAST 264
#define WM_SYNCPAINT 136
#define WM_MOUSEACTIVATE 33
+#define WM_MOUSEFIRST 512
#define WM_MOUSEMOVE 512
#define WM_LBUTTONDOWN 513
#define WM_LBUTTONUP 514
@@ -1695,13 +1696,20 @@
#define WM_MBUTTONDOWN 519
#define WM_MBUTTONUP 520
#define WM_MBUTTONDBLCLK 521
+#if (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
#define WM_MOUSEWHEEL 522
-#define WM_MOUSEFIRST 512
+#endif
#if (_WIN32_WINNT >= 0x0500)
#define WM_XBUTTONDOWN 523
#define WM_XBUTTONUP 524
#define WM_XBUTTONDBLCLK 525
+#endif
+#if (_WIN32_WINNT >= 0x0500)
#define WM_MOUSELAST 525
+#elif (_WIN32_WINNT >= 0x0400) || (_WIN32_WINDOWS > 0x0400)
+#define WM_MOUSELAST 522
+#else
+#define WM_MOUSELAST 521
#endif
#define WM_MOUSEHOVER 0x2A1
#define WM_MOUSELEAVE 0x2A3