mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
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. svn path=/trunk/; revision=10980
This commit is contained in:
parent
c2678bf64e
commit
5a585fd014
1 changed files with 4 additions and 1 deletions
|
@ -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 );
|
||||
|
|
Loading…
Reference in a new issue