当前位置:首页 科普知识 PrinterProperties

PrinterProperties

发布时间:2023-09-14 17:57:46

PrinterProperties,启动打印机属性对话框,以便对打印机进行配置.

PrinterProperties介绍

PrinterProperties,启动打印机属性对话框,以便对打印机进行配置.

PrinterProperties

PrinterProperties

VB声明

Declare Function PrinterProperties Lib "winspool.drv" Alias "PrinterProperties" (ByVal hwnd As Long, ByVal hPrinter As Long) As Long

说明

PrinterProperties

返回值

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

参数表

参数 类型及说明

PrinterProperties

hwnd Long,对话框的父窗口

hPrinter Long,一个已打开的打印机的句柄

注解

如打印机打开的时候没有使用足够的访问权限,对话框的有些功能也许会禁止使用

温馨提示:
本文【PrinterProperties】由作者 爱百科 转载提供。 该文观点仅代表作者本人, 自学教育网 信息发布平台,仅提供信息存储空间服务, 若存在侵权问题,请及时联系管理员或作者进行删除。
(c)2008-2025 自学教育网 All Rights Reserved 汕头市灵创科技有限公司
粤ICP备2024240640号-6