[SHELL32][STOBJECT] Enforce ShellExecuteW(..., file, parameters, ...)

CORE-16299
This commit is contained in:
Serge Gautherie 2019-08-15 22:21:21 +02:00 committed by Mark Jansen
parent 343442cc3f
commit cb77f1701f
4 changed files with 42 additions and 8 deletions

View file

@ -155,7 +155,12 @@ HRESULT STDMETHODCALLTYPE Hotplug_Shutdown(_In_ CSysTray * pSysTray)
static void _RunHotplug(CSysTray * pSysTray)
{
ShellExecuteW(pSysTray->GetHWnd(), L"open", L"rundll32.exe shell32.dll,Control_RunDLL hotplug.dll", NULL, NULL, SW_SHOWNORMAL);
ShellExecuteW(pSysTray->GetHWnd(),
L"open",
L"rundll32.exe",
L"shell32.dll,Control_RunDLL hotplug.dll",
NULL,
SW_SHOWNORMAL);
}
static void _ShowContextMenu(CSysTray * pSysTray)