Ulrich Czekalla <ulrich@codeweavers.com>

- When we send out a notification to a registered window with
  SHCNRF_NewDelivery, we should send a LPNOTIFICATIONLIST and the
  process id of the caller.

svn path=/trunk/; revision=10980
This commit is contained in:
Gé van Geldorp 2004-09-22 19:38:54 +00:00
parent c2678bf64e
commit 5a585fd014

View file

@ -389,7 +389,10 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID
ptr->wSignalledEvent |= wEventId;
SendMessageA(ptr->hwnd, ptr->uMsg, (WPARAM)Pidls, wEventId);
if (ptr->dwFlags & SHCNRF_NewDelivery)
SendMessageA(ptr->hwnd, ptr->uMsg, (WPARAM) ptr, (LPARAM) GetCurrentProcessId());
else
SendMessageA(ptr->hwnd, ptr->uMsg, (WPARAM)Pidls, wEventId);
TRACE("notifying %s, event %s(%lx) after\n", NodeName( ptr ), DumpEvent(
wEventId ),wEventId );