ScheduleJob function winspool

bool ScheduleJob(
  1. PRINTER_HANDLE hPrinter,
  2. int jobId
)

Requests that the print spooler schedule a specified print job for printing.

To learn more, see learn.microsoft.com/windows/win32/printdocs/schedulejob.

Implementation

@pragma('vm:prefer-inline')
bool ScheduleJob(PRINTER_HANDLE hPrinter, int jobId) =>
    _ScheduleJob(hPrinter, jobId) != FALSE;