您现在的位置是:首页 > 电脑技术查询 > 电脑知识

getexitcodeprocess

编辑:chaxungu时间:2022-09-28 09:34:32分类:电脑知识

getexitcodeprocess

vb声明
declarefunctiongetexitcodeprocesslib"kernel32"alias"getexitcodeprocess"(byvalhprocessaslong,lpexitcodeaslong)aslong
说明
获取一个已中断进程的退出代码
返回值
long,非零表示成功,零表示失败。会设置getlasterror
参数表
参数类型及说明
hprocesslong,想获取退出代码的一个进程的句柄
lpexitcodelong,用于装载进程退出代码的一个长整数变量。如进程尚未中止,则设为常数still_active


上一篇:getcurrentthread

下一篇:getcurrentthreadid