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

gethandleinformation

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

gethandleinformation

vb声明
declarefunctiongethandleinformationlib"kernel32"alias"gethandleinformation"(byvalhobjectaslong,lpdwflagsaslong)aslong
说明
获取与一个系统对象句柄有关的信息
返回值
long,非零表示成功,零表示失败。会设置getlasterror
参数表
参数类型及说明
hobjectlong,要测试的句柄
lpdwflagslong,设置了下述一个或多个常数的位标志:
handle_flag_inherit对象可由一个子进程继承
handle_flag_protect_from_close句柄不可用closehandle函数关闭
适用平台
windowsnt


上一篇:getexitcodethread

下一篇:getmailslotinfo