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

disconnectnamedpipe

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

disconnectnamedpipe

vb声明
declarefunctiondisconnectnamedpipelib"kernel32"alias"disconnectnamedpipe"(byvalhnamedpipeaslong)aslong
说明
断开一个客户与一个命名管道的连接
返回值
long,非零表示成功,零表示失败。会设置getlasterror
参数表
参数类型及说明
hnamedpipelong,管道的句柄
适用平台
windowsnt
注解
如客户尚未在它自己那端关闭管道句柄,下次试图访问管道的时候就会发生错误


上一篇:createsemaphore

下一篇:duplicatehandle