BOOL ScheduleJob(hPrinter, JobId) | |||
HANDLE hPrinter; | |||
DWORD JobId; |
This function should be called after an AddJob. It informs the Spool Subsystem that the Job that was Added can now be scheduled to be printed.
hPrinter
Indicates the open Printer handle that this function is to be performed upon. This Handle is obtained with the OpenPrinter API.
JobId
Specifies the identification number of the Job to be scheduled
The return value is TRUE if the function was successful, or FALSE if an error occurred. To obtain extended error information, use the GetLastError function.