[SHELL32] Fix SHChangeNotify for one item events (#2386)

Windows sends notification even if two parameters are provided for notification of one parameter. CORE-13950
This commit is contained in:
Katayama Hirofumi MZ 2020-02-26 10:59:28 +09:00 committed by GitHub
parent 3077c0e43e
commit 3c5b10f4e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ) &&