shell32: PIDLs should be checked recursively in SHChangeNotify.

This commit is contained in:
Andrew Eikum 2010-11-12 15:32:55 -06:00 committed by Alexandre Julliard
parent 71fad7d18d
commit b75b9fab2f
2 changed files with 2 additions and 1 deletions

View file

@ -243,7 +243,7 @@ static BOOL should_notify( LPCITEMIDLIST changed, LPCITEMIDLIST watched, BOOL su
return FALSE;
if (ILIsEqual( watched, changed ) )
return TRUE;
if( sub && ILIsParent( watched, changed, TRUE ) )
if( sub && ILIsParent( watched, changed, FALSE ) )
return TRUE;
return FALSE;
}

View file

@ -4218,6 +4218,7 @@ struct ChNotifyTest {
const char path_2[256];
} chnotify_tests[] = {
{"MKDIR", 1, 0, SHCNE_MKDIR, "C:\\shell32_cn_test\\test", ""},
{"CREATE", 1, 0, SHCNE_CREATE, "C:\\shell32_cn_test\\test\\file.txt", ""},
{"RMDIR", 1, 0, SHCNE_RMDIR, "C:\\shell32_cn_test\\test", ""},
};