mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:42:57 +00:00
[SHELL32][STOBJECT] Enforce ShellExecuteW(..., file, parameters, ...)
CORE-16299
This commit is contained in:
parent
343442cc3f
commit
cb77f1701f
4 changed files with 42 additions and 8 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue