Current location - Trademark Inquiry Complete Network - Futures platform - A detailed explanation of ShellExecuteEx running process, detailing what each parameter represents and how the process runs.
A detailed explanation of ShellExecuteEx running process, detailing what each parameter represents and how the process runs.
. cbSize = sizeof(SHELLEXECUTEINFO); //The size of the structure, in bytes.

The mask ShExecInfo.fMask = NULL// indicates which attributes are required and which are not, and the required attributes are | or together.

ShExecInfo.lpVerb = NULL// A string indicating the action to be taken, such as Edit and Open.

shexecinfo . LP directory = NULL; //indicates the path, such as "C:\\"

ShExecInfo.hInstApp = NULL// Handle of the current instance.

ShExecInfo.nShow= = display mode, there are many.

shexecinfo . LP file = L " C:\ \ Program Files \ \ flash fxp \ \ flash fxp . exe "; //The name of the executed program is ShExecInfo.lpParameters = ""This parameter seems to be an address of ULR.

The last one seems to be after controlling the execution of this program. Whether to close the currently executed program to return to the previously executed program. That is, how to set it. Otherwise, if you don't close and end this process, you can't go back to the parent process.