https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1871b2bd89a72f4b893c72093b6630a76a271b0c

commit 1871b2bd89a72f4b893c72093b6630a76a271b0c
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Fri Apr 10 18:16:31 2020 +0900
Commit:     Katayama Hirofumi MZ <[email protected]>
CommitDate: Fri Apr 10 18:16:31 2020 +0900

    [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;
 }

Reply via email to