ClosePrinter |
VB声明 |
|
Declare Function ClosePrinter Lib "winspool.drv" Alias "ClosePrinter" (ByVal hPrinter As Long) As Long |
|
说明 |
|
关闭一个打开的打印机对象 |
|
返回值 |
|
Long,非零表示成功,零表示失败。会设置GetLastError |
|
参数表 |
|
参数 |
类型及说明 |
hPrinter |
Long,一个打开的打印机对象的句柄 |
Top |