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) |
|
說(shuō)明 |
|
為指定的表單設(shè)置信息 |
|
返回值 |
|
Long,非零表示成功,零表示失敗。會(huì)設(shè)置GetLastError |
|
參數(shù)表 |
|
參數(shù) |
類(lèi)型及說(shuō)明 |
hPrinter |
Long,指定一個(gè)打開(kāi)打印機(jī)的句柄(用OpenPrinter取得) |
pFormName |
String,欲設(shè)置的表單的名字 |
Level |
Long,設(shè)為1 |
pForm |
Byte,包含一個(gè)有效FORM_INFO_1結(jié)構(gòu)的緩沖區(qū) |
適用平臺(tái) |
|
Windows NT |
|
注解 |
|
請(qǐng)參考AddForm函數(shù)。 |
Top |