Module: wine Branch: master Commit: a58a9f521202539c0a1c5732201567a59f8f6cfc URL: http://source.winehq.org/git/wine.git/?a=commit;h=a58a9f521202539c0a1c573220...
Author: Dmitry Timoshkov dmitry@codeweavers.com Date: Wed Oct 11 16:08:48 2006 +0900
user: Add some missing messages to the message spy.
---
dlls/user/spy.c | 29 +++++++++++++++++++++-------- include/winuser.h | 4 ++-- 2 files changed, 23 insertions(+), 10 deletions(-)
diff --git a/dlls/user/spy.c b/dlls/user/spy.c index e1c3d0b..e46772e 100644 --- a/dlls/user/spy.c +++ b/dlls/user/spy.c @@ -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_QUERYAFXWNDPROC", /* 0x0360 */ + "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_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 --git a/include/winuser.h b/include/winuser.h index 27f77d1..3d4795b 100644 --- a/include/winuser.h +++ b/include/winuser.h @@ -1189,8 +1189,6 @@ #define WM_CAPTURECHANGED 0x0215 #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 @@ #define WM_HOTKEY 0x0312
#define WM_PRINT 0x0317 #define WM_PRINTCLIENT 0x0318 +#define WM_APPCOMMAND 0x0319 +#define WM_THEMECHANGED 0x031A
#define WM_HANDHELDFIRST 0x0358 #define WM_HANDHELDLAST 0x035F