From 1871b2bd89a72f4b893c72093b6630a76a271b0c Mon Sep 17 00:00:00 2001 From: Katayama Hirofumi MZ Date: Fri, 10 Apr 2020 18:16:31 +0900 Subject: [PATCH] [SHELLEXT][ZIPFLDR] SendTo Zip compressed folder needs notification CORE-16818 --- dll/shellext/zipfldr/CZipCreator.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dll/shellext/zipfldr/CZipCreator.cpp b/dll/shellext/zipfldr/CZipCreator.cpp index c0ba8da0b68..62b6a3929e7 100644 --- a/dll/shellext/zipfldr/CZipCreator.cpp +++ b/dll/shellext/zipfldr/CZipCreator.cpp @@ -353,6 +353,12 @@ unsigned CZipCreatorImpl::JustDoIt() MessageBoxW(NULL, strText, strTitle, MB_ICONERROR); } + else + { + WCHAR szFullPath[MAX_PATH]; + GetFullPathNameW(strZipName, _countof(szFullPath), szFullPath, NULL); + SHChangeNotify(SHCNE_CREATE, SHCNF_PATHW, szFullPath, NULL); + } return err; }