CreateProcessAsUser
CreateProcessAsUser copied to clipboard
Change the dwFlags of STARTUPINFO
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.
https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/ns-processthreadsapi-startupinfoa