请输入您要查询的百科知识:

 

词条 SetForm
释义

SetForm

VB声明

Declare Function SetForm& Lib "spoolss.dll" Alias "SetFormA" (ByVal hPrinter As Long, ByVal pFormName As String, ByVal Level As Long, pForm As Byte)

说明

为指定的表单设置信息

返回值

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

参数表

参数 类型及说明

hPrinter Long,指定一个打开打印机的句柄(用OpenPrinter取得)

pFormName String,欲设置的表单的名字

Level Long,设为1

pForm Byte,包含一个有效FORM_INFO_1结构的缓冲区

适用平台

Windows NT

注解

请参考AddForm函数。

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/3/2 3:13:46