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

getcurrentthread

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

getcurrentthread

vb声明
declarefunctiongetcurrentthreadlib"kernel32"alias"getcurrentthread"()aslong
说明
获取当前线程的一个伪句柄
返回值
long,当前线程的伪句柄
注解
只要当前线程需要使用一个线程句柄,就可以使用这个伪句柄(但在其他任务线程中都无效)。该句柄可以复制,但不可继承。不必调用closehandle函数来关闭这个句柄



上一篇:getcurrentprocessid

下一篇:getexitcodeprocess