BOOL EngCheckAbort(
IN SURFOBJ *pso | |
); |
EngCheckAbort enables a printer driver to check whether a print job has been terminated.
The return value is TRUE if the specified print job has been aborted. FALSE is returned if pso points to an invalid SURFOBJ, or if the print job has not been aborted.
The printer driver should call EngCheckAbort from any operation that takes more than five seconds.
If the specified print job has been aborted, the driver terminates its current operation and returns to GDI.