Note This is a blocking or synchronous function and might not return immediately. How quickly this function returns depends on run-time factors such as network status, print server configuration, and printer driver implementation—factors that are difficult to predict when writing an application. Calling this function from a thread that manages interaction with the user interface could make the application appear to be unresponsive.
NoteReportJobProcessingProgress will only report the progress of the XPS print job if the print job is in the spooling or rendering phase. ReportJobProcessingProgress will fail if it is called when the XPS print job is not in the spooling or rendering phase.