https://git.reactos.org/?p=reactos.git;a=commitdiff;h=3c5b10f4e6f0be14863b83...
commit 3c5b10f4e6f0be14863b838952126c39a53a53ab Author: Katayama Hirofumi MZ katayama.hirofumi.mz@gmail.com AuthorDate: Wed Feb 26 10:59:28 2020 +0900 Commit: GitHub noreply@github.com CommitDate: Wed Feb 26 10:59:28 2020 +0900
[SHELL32] Fix SHChangeNotify for one item events (#2386)
Windows sends notification even if two parameters are provided for notification of one parameter. CORE-13950 --- dll/win32/shell32/wine/changenotify.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dll/win32/shell32/wine/changenotify.c b/dll/win32/shell32/wine/changenotify.c index 1873f4a487d..e5775470392 100644 --- a/dll/win32/shell32/wine/changenotify.c +++ b/dll/win32/shell32/wine/changenotify.c @@ -370,7 +370,9 @@ void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID { TRACE("dwItem2 is not zero, but should be\n"); dwItem2 = 0; +#ifndef __REACTOS__ return; +#endif }
if( ( ( wEventId & SHCNE_NOITEMEVENTS ) &&