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:
parent
0d6adce37a
commit
ed3d86f9be
|
@ -389,6 +389,9 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID
|
|||
|
||||
ptr->wSignalledEvent |= 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(
|
||||
|
|
Loading…
Reference in New Issue