changenotify
Ulrich Czekalla
ulrich.czekalla at utoronto.ca
Wed Jun 2 10:49:05 CDT 2004
ChangeLog:
Ulrich Czekalla <ulrich at 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.
-------------- next part --------------
Index: dlls/shell32/changenotify.c
===================================================================
RCS file: /home/wine/wine/dlls/shell32/changenotify.c,v
retrieving revision 1.30
diff -u -r1.30 changenotify.c
--- dlls/shell32/changenotify.c 2 Feb 2004 23:08:54 -0000 1.30
+++ dlls/shell32/changenotify.c 2 Jun 2004 15:41:49 -0000
@@ -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 );
More information about the wine-patches
mailing list