DeletePrinterConnection

DeletePrinterConnection

VB声明

Declare Function DeletePrinterConnection Lib "winspool.drv" Alias "DeletePrinterConnectionA" (ByVal pName As String) As Long

说明

删除与指定打印机的连接

返回值

Long,非零表示成功,零表示失败。会设置GetLastError

参数表

参数

类型及说明

pName

String,要删除的打印机连接

Top