Alexandre Julliard : user32: Define a few more window messages.

Alexandre Julliard julliard at winehq.org
Wed Mar 28 16:42:44 CDT 2018


Module: wine
Branch: master
Commit: bb99d51dc4c9e6c620b92287a1cfa46e5a46f002
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=bb99d51dc4c9e6c620b92287a1cfa46e5a46f002

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Wed Mar 28 20:10:49 2018 +0200

user32: Define a few more window messages.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/user32/spy.c  | 35 +++++++++++++++++++++++++++++------
 include/winuser.rh | 30 ++++++++++++++++++++++++++++--
 2 files changed, 57 insertions(+), 8 deletions(-)

diff --git a/dlls/user32/spy.c b/dlls/user32/spy.c
index 9fb7307..80bd0a3 100644
--- a/dlls/user32/spy.c
+++ b/dlls/user32/spy.c
@@ -490,13 +490,30 @@ static const char * const MessageTypeNames[SPY_MAX_MSGNUM + 1] =
     "WM_ENTERSIZEMOVE",         /* 0x0231 */
     "WM_EXITSIZEMOVE",          /* 0x0232 */
     "WM_DROPFILES",             /* 0x0233 */
-    "WM_MDIREFRESHMENU", NULL, NULL, NULL,
-    /* 0x0238*/
-    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+    "WM_MDIREFRESHMENU",        /* 0x0234 */
+    NULL, NULL, NULL,
+    "WM_POINTERDEVICECHANGE",   /* 0x0238 */
+    "WM_POINTERDEVICEINRANGE",  /* 0x0239 */
+    "WM_POINTERDEVICEOUTOFRANGE", /* 0x023a */
+    NULL, NULL, NULL, NULL, NULL,
 
     /* 0x0240 */
-    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+    "WM_TOUCH",                 /* 0x0240 */
+    "WM_NCPOINTERUPDATE",       /* 0x0241 */
+    "WM_NCPOINTERDOWN",         /* 0x0242 */
+    "WM_NCPOINTERUP",           /* 0x0243 */
+    NULL,
+    "WM_POINTERUPDATE",         /* 0x0245 */
+    "WM_POINTERDOWN",           /* 0x0246 */
+    "WM_POINTERUP",             /* 0x0247 */
+    NULL,
+    "WM_POINTERENTER",          /* 0x0249 */
+    "WM_POINTERLEAVE",          /* 0x024a */
+    "WM_POINTERACTIVATE",       /* 0x024b */
+    "WM_POINTERCAPTURECHANGED", /* 0x024c */
+    "WM_TOUCHHITTESTING",       /* 0x024d */
+    "WM_POINTERWHEEL",          /* 0x024e */
+    "WM_POINTERHWHEEL",         /* 0x024f */
 
     /* 0x0250 */
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -569,7 +586,13 @@ static const char * const MessageTypeNames[SPY_MAX_MSGNUM + 1] =
     "WM_TABLET_FIRST+31",       /* 0x02de */
     "WM_TABLET_LAST",           /* 0x02df */
 
-    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+    "WM_DPICHANGED",            /* 0x02e0 */
+    NULL,
+    "WM_DPICHANGED_BEFOREPARENT",/* 0x02e2 */
+    "WM_DPICHANGED_AFTERPARENT",/* 0x02e3 */
+    "WM_GETDPISCALEDSIZE",      /* 0x02e4 */
+    NULL, NULL, NULL,
+
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
diff --git a/include/winuser.rh b/include/winuser.rh
index 350d427..bcc7160 100644
--- a/include/winuser.rh
+++ b/include/winuser.rh
@@ -530,8 +530,6 @@
 #define WM_MDICASCADE          0x0227
 #define WM_MDIICONARRANGE      0x0228
 #define WM_MDIGETACTIVE        0x0229
-#define WM_MDISETMENU          0x0230
-#define WM_MDIREFRESHMENU      0x0234
 
 /* D&D messages */
 #define WM_DROPOBJECT          0x022A /* DDK / Win16 */
@@ -541,11 +539,34 @@
 #define WM_DRAGSELECT          0x022E /* DDK / Win16 */
 #define WM_DRAGMOVE            0x022F /* DDK / Win16 */
 
+#define WM_MDISETMENU          0x0230
 #define WM_ENTERSIZEMOVE       0x0231
 #define WM_EXITSIZEMOVE        0x0232
 #define WM_DROPFILES           0x0233
+#define WM_MDIREFRESHMENU      0x0234
+
+#define WM_POINTERDEVICECHANGE     0x0238
+#define WM_POINTERDEVICEINRANGE    0x0239
+#define WM_POINTERDEVICEOUTOFRANGE 0x023a
 
 #define WM_TOUCH               0x0240
+#define WM_NCPOINTERUPDATE     0x0241
+#define WM_NCPOINTERDOWN       0x0242
+#define WM_NCPOINTERUP         0x0243
+#define WM_POINTERUPDATE       0x0245
+#define WM_POINTERDOWN         0x0246
+#define WM_POINTERUP           0x0247
+#define WM_POINTERENTER        0x0249
+#define WM_POINTERLEAVE        0x024a
+#define WM_POINTERACTIVATE     0x024b
+#define WM_POINTERCAPTURECHANGED 0x024c
+#define WM_TOUCHHITTESTING     0x024d
+#define WM_POINTERWHEEL        0x024e
+#define WM_POINTERHWHEEL       0x024f
+
+#define WM_POINTERROUTEDTO     0x0251
+#define WM_POINTERROUTEDAWAY   0x0252
+#define WM_POINTERROUTEDRELEASED 0x0253
 
 /* Win32 4.0 messages for IME */
 #define WM_IME_SETCONTEXT      0x0281
@@ -571,6 +592,11 @@
 #define WM_TABLET_FIRST        0x02c0
 #define WM_TABLET_LAST         0x02df
 
+#define WM_DPICHANGED          0x02e0
+#define WM_DPICHANGED_BEFOREPARENT 0x02e2
+#define WM_DPICHANGED_AFTERPARENT  0x02e3
+#define WM_GETDPISCALEDSIZE    0x02e4
+
 /* Clipboard command messages */
 #define WM_CUT                 0x0300
 #define WM_COPY                0x0301




More information about the wine-cvs mailing list