From be4775c2b8f405fdcc68eee2c282e95b3e240e1f Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Thu, 4 Dec 2014 18:20:51 +0000 Subject: [PATCH] [INCLUDES] * Move some shared definitions in a common header svn path=/trunk/; revision=65559 --- reactos/base/shell/explorer/precomp.h | 1 - reactos/dll/win32/shell32/CDesktopBrowser.cpp | 3 --- reactos/include/reactos/undocshell.h | 8 ++++++++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/reactos/base/shell/explorer/precomp.h b/reactos/base/shell/explorer/precomp.h index 877e80b0a1d..15171ec0fc7 100644 --- a/reactos/base/shell/explorer/precomp.h +++ b/reactos/base/shell/explorer/precomp.h @@ -157,7 +157,6 @@ void WINAPI _ShellDDEInit(BOOL bInit); */ #define TWM_OPENSTARTMENU (WM_USER + 260) -#define TWM_DOEXITWINDOWS (WM_USER + 342) extern const GUID IID_IShellDesktopTray; diff --git a/reactos/dll/win32/shell32/CDesktopBrowser.cpp b/reactos/dll/win32/shell32/CDesktopBrowser.cpp index 2a2cd93576f..98fdbdcdf47 100644 --- a/reactos/dll/win32/shell32/CDesktopBrowser.cpp +++ b/reactos/dll/win32/shell32/CDesktopBrowser.cpp @@ -388,9 +388,6 @@ BOOL CDesktopBrowser::MessageLoop() return TRUE; } -#define TWM_DOEXITWINDOWS (WM_USER + 342) -#define TWM_CYCLEFOCUS (WM_USER + 348) - LRESULT CDesktopBrowser::_NotifyTray(UINT uMsg, WPARAM wParam, LPARAM lParam) { HWND hwndTray; diff --git a/reactos/include/reactos/undocshell.h b/reactos/include/reactos/undocshell.h index 850d5af7c17..a70b075f321 100644 --- a/reactos/include/reactos/undocshell.h +++ b/reactos/include/reactos/undocshell.h @@ -23,6 +23,14 @@ extern "C" { #endif /* defined(__cplusplus) */ +/**************************************************************************** + * Taskbar WM_COMMAND identifiers + */ + +#define TWM_DOEXITWINDOWS (WM_USER + 342) +#define TWM_CYCLEFOCUS (WM_USER + 348) + + /**************************************************************************** * IDList Functions */