user: Add some missing messages to the message spy

Dmitry Timoshkov dmitry at codeweavers.com
Wed Oct 11 02:08:48 CDT 2006


Hello,

Changelog:
    user: Add some missing messages to the message spy.

diff -up cvs/hq/wine/dlls/user/spy.c wine/dlls/user/spy.c
--- cvs/hq/wine/dlls/user/spy.c	2006-10-04 16:28:21.000000000 +0900
+++ wine/dlls/user/spy.c	2006-10-11 13:13:28.000000000 +0900
@@ -410,7 +410,9 @@ static const char * const MessageTypeNam
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
 
     /* 0x01E0 */
-    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+    NULL,
+    "MN_GETHMENU",              /* 0x01E1 */
+    NULL, NULL, NULL, NULL, NULL, NULL,
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
 
     /* 0x01F0 */
@@ -571,9 +573,11 @@ static const char * const MessageTypeNam
     "WM_PALETTECHANGED",
     "WM_HOTKEY",                /* 0x0312 */
           NULL, NULL, NULL, NULL,
-    "WM_PRINT",
-    "WM_PRINTCLIENT",
-    NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+    "WM_PRINT",                 /* 0x0317 */
+    "WM_PRINTCLIENT",           /* 0x0318 */
+    "WM_APPCOMMAND",            /* 0x0319 */
+    "WM_THEMECHANGED",          /* 0x031A */
+    NULL, NULL, NULL, NULL, NULL,
 
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
@@ -583,10 +587,18 @@ static const char * const MessageTypeNam
     /* 0x0340 */
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+    /* 0x0350 */
     NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
-    NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL,
+    "WM_HANDHELDFIRST",     /* 0x0358 */
+    "WM_HANDHELDFIRST+1",   /* 0x0359 */
+    "WM_HANDHELDFIRST+2",   /* 0x035A */
+    "WM_HANDHELDFIRST+3",   /* 0x035B */
+    "WM_HANDHELDFIRST+4",   /* 0x035C */
+    "WM_HANDHELDFIRST+5",   /* 0x035D */
+    "WM_HANDHELDFIRST+6",   /* 0x035E */
+    "WM_HANDHELDLAST",      /* 0x035F */
 
-    "WM_QUERYAFXWNDPROC",   /*  0x0360 */
+    "WM_QUERYAFXWNDPROC",   /*  0x0360 WM_AFXFIRST */
     "WM_SIZEPARENT",        /*  0x0361 */
     "WM_SETMESSAGESTRING",  /*  0x0362 */
     "WM_IDLEUPDATECMDUI",   /*  0x0363 */
@@ -613,7 +625,8 @@ static const char * const MessageTypeNam
     "WM_OCC_LOADFROMSTREAM_EX",  /* 0x037A */
     "WM_OCC_LOADFROMSTORAGE_EX", /* 0x037B */
 
-    NULL,NULL,NULL,NULL,
+    NULL,NULL,NULL,
+    "WM_AFXLAST",               /* 0x037F */
 
     "WM_PENWINFIRST",           /* 0x0380 */
     "WM_RCRESULT",              /* 0x0381 */
diff -up cvs/hq/wine/include/winuser.h wine/include/winuser.h
--- cvs/hq/wine/include/winuser.h	2006-10-06 14:56:23.000000000 +0900
+++ wine/include/winuser.h	2006-10-11 13:16:21.000000000 +0900
@@ -1189,8 +1189,6 @@ BOOL        WINAPI SetSysColors(INT,cons
 #define WM_MOVING	    0x0216
 #define WM_POWERBROADCAST   0x0218
 #define WM_DEVICECHANGE     0x0219
-/* Win32 5.1 messages */
-#define WM_THEMECHANGED     0x031A
 
 /* wParam for WM_SIZING message */
 #define WMSZ_LEFT           1
@@ -1293,6 +1291,8 @@ BOOL        WINAPI SetSysColors(INT,cons
 
 #define WM_PRINT             0x0317
 #define WM_PRINTCLIENT       0x0318
+#define WM_APPCOMMAND        0x0319
+#define WM_THEMECHANGED      0x031A
 
 #define WM_HANDHELDFIRST     0x0358
 #define WM_HANDHELDLAST      0x035F





More information about the wine-patches mailing list