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

getexitcodethread

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

getexitcodethread

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


上一篇:getcurrentthreadid

下一篇:gethandleinformation