[SHELL32] Fix handling of multiple parameters in the 'Run' dialog (#665)
authorKatayama Hirofumi MZ <katayama.hirofumi.mz@gmail.com>
Sun, 5 Aug 2018 11:39:17 +0000 (20:39 +0900)
committerHermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Sun, 5 Aug 2018 11:39:17 +0000 (13:39 +0200)
commitbfcbda227f99c1b59e8ed71f5e0f59f793d496a1
tree215193ee91b3bfd65013ac83e7b54e9445929c37
parentff63ef3c55b82796008453d049bc50df80b4c4a6
[SHELL32] Fix handling of multiple parameters in the 'Run' dialog (#665)

The "Run" dialog failed when multiple parameters wee specified.
We use instead a newly-created ShellExecCmdLine() helper function to fix the problem (as found via API-tracing on Windows).
Note that ShellExecCmdLine() starts to be exported with Vista+.

- Implement ShellExecCmdLine() function in shell32.
- Add URL support.
- Fix RunDlgProc function in shell32.
- Add a testcase for ShellExecCmdLine() function.

CORE-14790
dll/win32/shell32/dialogs/dialogs.cpp
dll/win32/shell32/shlexec.cpp
modules/rostests/apitests/shell32/CMakeLists.txt
modules/rostests/apitests/shell32/ShellExecCmdLine.cpp [new file with mode: 0644]
modules/rostests/apitests/shell32/testlist.c
sdk/include/reactos/undocshell.h