mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:13:05 +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(
|
RouteTheCall(
|
||||||
IN HWND hWndOwner,
|
IN HWND hWndOwner,
|
||||||
IN HINSTANCE hInstance,
|
IN HINSTANCE hInstance,
|
||||||
IN LPWSTR lpNamedPipeName,
|
IN LPCSTR lpStringArg,
|
||||||
IN INT Show)
|
IN INT Show)
|
||||||
{
|
{
|
||||||
UNIMPLEMENTED;
|
CStringW path = lpStringArg;
|
||||||
return FALSE;
|
PathRemoveBlanksW(path.GetBuffer());
|
||||||
|
path.ReleaseBuffer();
|
||||||
|
path = L"\"" + path + L"\"";
|
||||||
|
ShellExecuteW(NULL, L"open", L"explorer.exe", path.GetString(), NULL, SW_SHOWNORMAL);
|
||||||
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue