mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 08:25:03 +00:00
[ZIPFLDR] Implement RouteTheCall, so that applications can 'launch' zip files
This commit is contained in:
parent
4ea570975c
commit
eb324b6a9c
1 changed files with 7 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue