ConnectToPrinterDlg

ConnectToPrinterDlg

VB声明

Declare Function ConnectToPrinterDlg Lib "winspool.drv" Alias "ConnectToPrinterDlg" (ByVal hwnd As Long, ByVal flags As Long) As Long

说明

启动连接打印机对话框,用它同访问网络的打印机连接

返回值

Long,已连接或选择的打印机的句柄,零意味着失败或用户取消了操作

参数表

参数

类型及说明

hwnd

Long,对话框的父窗口句柄

flags

Long,保留,设为零

Top