Call SHELLEXECUTEEX executive application

zhaozj2021-02-16  51

SHELLEXECUTEINFO ShExecInfo = {0}; ShExecInfo.cbSize = sizeof (SHELLEXECUTEINFO); ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS; ShExecInfo.hwnd = NULL; ShExecInfo.lpVerb = NULL; ShExecInfo.lpFile = "DRSINJECT.exe"; ShExecInfo.lpParameters = "gamedata_x1 /Y";ShExecInfo.lpDirectory = "Game // Data //"; ShExecInfo.nShow = SW_SHOW; ShExecInfo.hInstApp = NULL; ShellExecuteEx (& ShExecInfo); WaitForSingleObject (ShExecInfo.hProcess, INFINITE);

转载请注明原文地址:https://www.9cbs.com/read-19850.html

New Post(0)