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.
This commit is contained in:
Ulrich Czekalla 2004-06-02 21:33:47 +00:00 committed by Alexandre Julliard
parent 0d6adce37a
commit ed3d86f9be
1 changed files with 4 additions and 1 deletions

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 );