为了账号安全,请及时绑定邮箱和手机立即绑定

你好,请问在C语言中的createprocess()函数参数是什么?

你好,请问在C语言中的createprocess()函数参数是什么?

C
慕妹3146593 2021-08-04 10:07:29
它包含在哪个头文件中?
查看完整描述

3 回答

?
守候你守候我

TA贡献1802条经验 获得超10个赞

BOOL CreateProcess(
LPCTSTR lpApplicationName,
LPTSTR lpCommandLine,
LPSECURITY_ATTRIBUTES lpProcessAttributes,
LPSECURITY_ATTRIBUTES lpThreadAttributes,
BOOL bInheritHandles,
DWORD dwCreationFlags,
LPVOID lpEnvironment,
LPCTSTR lpCurrentDirectory,
LPSTARTUPINFO lpStartupInfo,
LPPROCESS_INFORMATION lpProcessInformation);

RequirementsClientRequires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95.ServerRequires Windows Server 2003, Windows 2000 Server, or Windows NT Server.HeaderDeclared in Winbase.h; include Windows.h.
Library
Link to Kernel32.lib.
DLLRequires Kernel32.dll. Unicode
Implemented as CreateProcessW (Unicode) and CreateProcessA (ANSI). Note that Unicode support on Windows Me/98/95 requires Microsoft Layer for Unicode.



查看完整回答
反对 回复 2021-08-09
?
斯蒂芬大帝

TA贡献1827条经验 获得超8个赞

#include <windows.h>

BOOL CreateProcess
(
LPCTSTRlpApplicationName,
LPTSTRlpCommandLine,
LPSECURITY_ATTRIBUTES lpProcessAttributes。
LPSECURITY_ATTRIBUTES lpThreadAttributes,
BOOL bInheritHandles,
DWORD dwCreationFlags,
LPVOID lpEnvironment,
LPCTSTR lpCurrentDirectory,
LPSTARTUPINFO lpStartupInfo,
LPPROCESS_INFORMATION lpProcessInformation
);


查看完整回答
反对 回复 2021-08-09
  • 3 回答
  • 0 关注
  • 243 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信