ScheduleJob |
VB声明 |
|
Declare Function ScheduleJob Lib "winspool.drv" Alias "ScheduleJob" (ByVal hPrinter As Long, ByVal JobId As Long) As Long |
|
说明 |
|
提交一个要打印的作业 |
|
返回值 |
|
Long,非零表示成功,零表示失败。会设置GetLastError |
|
参数表 |
|
参数 |
类型及说明 |
hPrinter |
Long,一台已打开的打印机句柄 |
JobId |
Long,以前用AddJob函数获得的作业编号 |
注解 |
|
参考AddJob函数以获得进一步的信息 |
Top |