Hi, On 09/19/11 20:52, André Hentschel wrote:
@@ -325,7 +325,7 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID EnterCriticalSection(&SHELL32_ChangenotifyCS);/* loop through the list */ - LIST_FOR_EACH_ENTRY( ptr,¬ifications, NOTIFICATIONLIST, entry ) + LIST_FOR_EACH_ENTRY_SAFE( ptr, next,¬ifications, NOTIFICATIONLIST, entry )
The function should not call SendMessage inside critical section. Cheers, Piotr