Skip to content

Commit

Permalink
Add undocumented window message definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
otya128 committed Sep 27, 2018
1 parent 20ae1ce commit fe2d749
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 2 deletions.
39 changes: 37 additions & 2 deletions user/message.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,43 @@
#include "user_private.h"
#include "wine/debug.h"
#include "message_table.h"
/* undocumented messages */
//reactos sdk/include/reactos/undocuser.h
#define WM_SETVISIBLE 0x00000009
#define WM_ALTTABACTIVE 0x00000029
#define WM_ISACTIVEICON 0x00000035
#define WM_QUERYPARKICON 0x00000036
#define WM_CLIENTSHUTDOWN 0x0000003B
#define WM_COPYGLOBALDATA 0x00000049
#define WM_LOGONNOTIFY 0x0000004C
#define WM_KEYF1 0x0000004D
#define WM_KLUDGEMINRECT 0x0000008B
#define WM_UAHDRAWMENU 0x00000091
#define WM_UAHDRAWITEM 0x00000092 // WM_DRAWITEM
#define WM_UAHINITMENU 0x00000093
#define WM_UAHMEASUREITEM 0x00000094 // WM_MEASUREITEM
#define WM_UAHDRAWMENUNC 0x00000095
#define WM_NCUAHDRAWCAPTION 0x000000AE
#define WM_NCUAHDRAWFRAME 0x000000AF
#define WM_SYSTIMER 0x00000118
#define WM_LBTRACKPOINT 0x00000131
#define WM_CBLOSTTEXTFOCUS 0x00000167
#define LB_CARETON 0x000001a3
#define LB_CARETOFF 0x000001a4
#define MN_SETHMENU 0x000001e0
#define WM_DROPOBJECT 0x0000022A
#define WM_QUERYDROPOBJECT 0x0000022B
#define WM_BEGINDRAG 0x0000022C
#define WM_DRAGLOOP 0x0000022D
#define WM_DRAGSELECT 0x0000022E
#define WM_DRAGMOVE 0x0000022F
#define WM_POPUPSYSTEMMENU 0x00000313
#define WM_UAHINIT 0x0000031b


#ifndef EM_ENABLEFEATURE /* WINVER < 0x0604 */
#define EM_ENABLEFEATURE 0x00DA
#endif
WINE_DEFAULT_DEBUG_CHANNEL(msg);
WINE_DECLARE_DEBUG_CHANNEL(message);
BOOL is_win_menu_disallowed(DWORD style);
Expand Down Expand Up @@ -3869,8 +3906,6 @@ LRESULT CALLBACK CBTHook(int nCode, WPARAM wParam, LPARAM lParam)
}
return FALSE;
}
//reactos sdk/include/reactos/undocuser.h
#define WM_SETVISIBLE 0x0009
LRESULT CALLBACK WndProcRetHook(int code, WPARAM wParam, LPARAM lParam)
{
user_hook_data *hd = (user_hook_data*)TlsGetValue(hhook_tls_index);
Expand Down
2 changes: 2 additions & 0 deletions user/message_table.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ static const char *msg_table[] = {
[171] = "WM_NCXBUTTONDOWN",
[172] = "WM_NCXBUTTONUP",
[173] = "WM_NCXBUTTONDBLCLK",
[174] = "WM_NCUAHDRAWCAPTION",
[175] = "WM_NCUAHDRAWFRAME",
[176] = "EM_GETSEL",
[177] = "EM_SETSEL",
[178] = "EM_GETRECT",
Expand Down

0 comments on commit fe2d749

Please sign in to comment.