[PATCH 2/5] d3d8/tests: Avoid windowsx.h.

Henri Verbeet hverbeet at codeweavers.com
Tue Oct 29 04:28:04 CDT 2013


---
 dlls/d3d8/tests/device.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dlls/d3d8/tests/device.c b/dlls/d3d8/tests/device.c
index 9db5335..2e2a0c0 100644
--- a/dlls/d3d8/tests/device.c
+++ b/dlls/d3d8/tests/device.c
@@ -22,11 +22,13 @@
  */
 
 #define COBJMACROS
-#include <windowsx.h>
 #include <initguid.h>
 #include <d3d8.h>
 #include "wine/test.h"
 
+#define GET_X_LPARAM(lp) ((int)(short)LOWORD(lp))
+#define GET_Y_LPARAM(lp) ((int)(short)HIWORD(lp))
+
 static INT screen_width;
 static INT screen_height;
 
-- 
1.7.10.4




More information about the wine-patches mailing list