diff --git a/dll/win32/shell32/folders/CRegFolder.cpp b/dll/win32/shell32/folders/CRegFolder.cpp index 9792e0568f3..d94be6e7074 100644 --- a/dll/win32/shell32/folders/CRegFolder.cpp +++ b/dll/win32/shell32/folders/CRegFolder.cpp @@ -82,6 +82,16 @@ HRESULT CALLBACK RegFolderContextMenuCallback(IShellFolder *psf, if (!SH_ShowRecycleBinProperties(L'C')) hr = E_FAIL; } + else if (_ILIsMyDocuments(apidl[0])) + { + WCHAR szPath[MAX_PATH]; + + hr = SHGetFolderPathW(NULL, CSIDL_MYDOCUMENTS, NULL, SHGFP_TYPE_CURRENT, szPath); + if (SUCCEEDED(hr)) + { + hr = (SH_ShowPropertiesDialog(szPath, pdtobj) ? S_OK : E_FAIL); + } + } SHFree(pidlFolder); _ILFreeaPidl(apidl, cidl);