开发者

Using STARTUPINFOEX in CreateProcess

Many places I saw that we can use startupinfoex structure in CreateProcess function. But when I checked the signature is only allowing startupinfo structure. Can anybody please give a snippet how startupinfoex can be used with createprocess function. Thanks in advance...开发者_开发百科.


You need to cast the STARTUPINFOEX* to a STARTUPINFO*.

Be sure to pass the EXTENDED_STARTUPINFO_PRESENT flag to dwCreationFlags and set the StartupInfo.cb member to sizeof(STARTUPINFOEX).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜