mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 05:51:26 +08:00
[SHELL32] ShellDispatch::ShellExecute must default to displaying the window (#6143)
SW_HIDE is not the correct default show mode.
This can be reproduced by simple script:
WScript.CreateObject("Shell.Application").ShellExecute("calc.exe");
This commit is contained in:
@@ -245,7 +245,7 @@ HRESULT STDMETHODCALLTYPE CShellDispatch::ShellExecute(BSTR file, VARIANT v_args
|
||||
{
|
||||
CComVariant args_str, dir_str, op_str, show_int;
|
||||
WCHAR *args = NULL, *dir = NULL, *op = NULL;
|
||||
INT show = 0;
|
||||
INT show = SW_SHOW;
|
||||
HINSTANCE ret;
|
||||
|
||||
TRACE("(%s, %s, %s, %s, %s)\n", debugstr_w(file), debugstr_variant(&v_args),
|
||||
|
||||
Reference in New Issue
Block a user