15,471
社区成员
发帖
与我相关
我的任务
分享
bResult = CreateProcessAsUser(
hUserTokenDup, // 这个参数上面已经得到
strPath, //执行文件的路径
NULL, // command line
NULL, // pointer to process SECURITY_ATTRIBUTES
NULL, // pointer to thread SECURITY_ATTRIBUTES
FALSE, // handles are not inheritable
dwCreationFlags, // creation flags
pEnv, // pointer to new environment block
NULL, // name of current directory
&si, // pointer to STARTUPINFO structure
&pi // receives information about new process
);