Added a bunch of macros needed for compiling Winelib apps.
diff --git a/include/winuser.h b/include/winuser.h
index 0d16678..8ce44e5 100644
--- a/include/winuser.h
+++ b/include/winuser.h
@@ -1268,7 +1268,13 @@
POINT pt;
} MSG, *LPMSG;
-
+#define POINTSTOPOINT(pt, pts) \
+ { (pt).x = (LONG)(SHORT)LOWORD(*(LONG*)&pts); \
+ (pt).y = (LONG)(SHORT)HIWORD(*(LONG*)&pts); }
+
+#define POINTTOPOINTS(pt) (MAKELONG((short)((pt).x), (short)((pt).y)))
+
+
/* Cursors / Icons */
typedef struct {
@@ -2025,6 +2031,11 @@
#define IDC_HELPW MAKEINTRESOURCEW(32651)
#define IDC_HELP WINELIB_NAME_AW(IDC_HELP)
+#define MNC_IGNORE 0
+#define MNC_CLOSE 1
+#define MNC_EXECUTE 2
+#define MNC_SELECT 3
+
/* SystemParametersInfo */
/* defines below are for all win versions */
#define SPI_GETBEEP 1