Nothing happened after I adjusted the wShowWindow property to SW_MINIMIZE, and I found something description of wShowWindow property in MSDN:
If dwFlags specifies STARTF_USESHOWWINDOW, this member can be any of the values that can be specified in the nCmdShow parameter for the ShowWindow function, except for SW_SHOWDEFAULT. Otherwise, this member is ignored.
Nothing happened after I adjusted the
wShowWindow
property toSW_MINIMIZE
, and I found something description ofwShowWindow
property in MSDN:If
dwFlags
specifiesSTARTF_USESHOWWINDOW
, this member can be any of the values that can be specified in thenCmdShow
parameter for theShowWindow
function, except forSW_SHOWDEFAULT
. Otherwise, this member is ignored.https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/ns-processthreadsapi-startupinfoa