Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 427 of file changenotify.cpp.
{ DWORD i; LPNOTIFICATIONLIST node; LPCITEMIDLIST *idlist; TRACE("%p %08x %p %p\n", hChange, dwProcessId, lppidls, lpwEventId); /* EnterCriticalSection(&SHELL32_ChangenotifyCS); */ node = FindNode( hChange ); if( node ) { idlist = (LPCITEMIDLIST *)SHAlloc( sizeof(LPCITEMIDLIST *) * node->cidl ); for(i=0; i<node->cidl; i++) idlist[i] = (LPCITEMIDLIST)node->pidlSignaled; *lpwEventId = node->wSignalledEvent; *lppidls = (LPITEMIDLIST*)idlist; node->wSignalledEvent = 0; } else ERR("Couldn't find %p\n", hChange ); /* LeaveCriticalSection(&SHELL32_ChangenotifyCS); */ return (HANDLE) node; }