reactos/lib/shell32
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 );