Author: dquintana
Date: Wed Dec 17 00:32:34 2014
New Revision: 65695
URL:
http://svn.reactos.org/svn/reactos?rev=65695&view=rev
Log:
[SHELL32]
* Revert r65589, since it breaks tray icons.
Modified:
trunk/reactos/dll/win32/shell32/systray.cpp
Modified: trunk/reactos/dll/win32/shell32/systray.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/systray.…
==============================================================================
--- trunk/reactos/dll/win32/shell32/systray.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/systray.cpp [iso-8859-1] Wed Dec 17 00:32:34 2014
@@ -50,8 +50,8 @@
data.lpData = pnotify_data;
for(hwnd = 0; (hwnd = FindWindowExW(0, hwnd, L"Shell_TrayWnd", NULL)); )
- if ((unicode ? SendMessageTimeoutW : SendMessageTimeoutA)(hwnd, WM_COPYDATA,
(WPARAM)nid_hwnd, (LPARAM)&data, SMTO_BLOCK|SMTO_ABORTIFHUNG, 4000,
(PDWORD_PTR)&ret))
- return ret;
+ if ((unicode ? SendMessageW : SendMessageA)(hwnd, WM_COPYDATA, (WPARAM)nid_hwnd,
(LPARAM)&data))
+ ret = TRUE;
return ret;
}