https://git.reactos.org/?p=reactos.git;a=commitdiff;h=eb324b6a9cc7bfe8f49acd23fea6f5832fac3a05
commit eb324b6a9cc7bfe8f49acd23fea6f5832fac3a05 Author: Mark Jansen <[email protected]> AuthorDate: Sun Apr 22 00:00:34 2018 +0200 Commit: Mark Jansen <[email protected]> CommitDate: Sun Aug 5 11:54:56 2018 +0200 [ZIPFLDR] Implement RouteTheCall, so that applications can 'launch' zip files --- dll/shellext/zipfldr/zipfldr.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/dll/shellext/zipfldr/zipfldr.cpp b/dll/shellext/zipfldr/zipfldr.cpp index 27a354e0a1..2b9e5b6380 100644 --- a/dll/shellext/zipfldr/zipfldr.cpp +++ b/dll/shellext/zipfldr/zipfldr.cpp @@ -109,9 +109,13 @@ BOOL WINAPI RouteTheCall( IN HWND hWndOwner, IN HINSTANCE hInstance, - IN LPWSTR lpNamedPipeName, + IN LPCSTR lpStringArg, IN INT Show) { - UNIMPLEMENTED; - return FALSE; + CStringW path = lpStringArg; + PathRemoveBlanksW(path.GetBuffer()); + path.ReleaseBuffer(); + path = L"\"" + path + L"\""; + ShellExecuteW(NULL, L"open", L"explorer.exe", path.GetString(), NULL, SW_SHOWNORMAL); + return TRUE; }
