Commit in reactos/lib/shell32 on MAIN
changenotify.c+4-11.3 -> 1.4
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.

reactos/lib/shell32
changenotify.c 1.3 -> 1.4
diff -u -r1.3 -r1.4
--- changenotify.c	9 Feb 2004 22:24:35 -0000	1.3
+++ changenotify.c	22 Sep 2004 19:38:54 -0000	1.4
@@ -389,7 +389,10 @@
 
         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 );
CVSspam 0.2.8