shell32: ShellExecute uses SW_SHOWDEFAULT by default

This patch applies to applications that launch processes via ShellDispatch without specifying a show mode (such as WPS PDF Editor).

When no show parameter is specified, VT_EMPTY is converted to the integer 0 (i.e., SW_HIDE), causing the main window to be hidden by default. This behavior is now adjusted to use the default show mode.

The modification references Microsoft’s official description of the IShellDispatch2.ShellExecute interface: "If this parameter is not specified, the application uses its default value."

Merge request reports

Loading