ReportJobProcessingProgress function Null safety winspool

int ReportJobProcessingProgress(
  1. int printerHandle,
  2. int jobId,
  3. int jobOperation,
  4. int jobProgress

Reports to the Print Spooler service whether an XPS print job is in the spooling or the rendering phase and what part of the processing is currently underway.

HRESULT ReportJobProcessingProgress(
  _In_ HANDLE                printerHandle,
  _In_ ULONG                 jobId,
       EPrintXPSJobOperation jobOperation,
       EPrintXPSJobProgress  jobProgress


int ReportJobProcessingProgress(
        int printerHandle, int jobId, int jobOperation, int jobProgress) =>
        printerHandle, jobId, jobOperation, jobProgress);