[SHELL32] Fix My Documents properties (#4906)

Tell the caller to run default action by returning S_FALSE in else case.

CORE-17509
This commit is contained in:
Thamatip Chitpong 2022-12-09 20:00:24 +07:00 committed by GitHub
parent 82cf6c2b06
commit f0c20caf32
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,6 +82,11 @@ HRESULT CALLBACK RegFolderContextMenuCallback(IShellFolder *psf,
if (!SH_ShowRecycleBinProperties(L'C'))
hr = E_FAIL;
}
else
{
/* Tell the caller to run the default action */
hr = S_FALSE;
}
SHFree(pidlFolder);
_ILFreeaPidl(apidl, cidl);