DrvSplAbort

VOID DrvSplAbort(

    HANDLE hDriver

   );

DrvSplAbort aborts the printing job.

Parameters

hDriver
Identifies the per-job instance handle with which the aborted job is associated. The driver generated this handle in response to a call to DrvSplStartDoc.

Comments

The spooler calls DrvSplAbort when it receives notification that the print job associated with hDriver has been aborted. The driver should discard any pending work, or mark it as discardable. The driver can clean up work marked as discardable when its DrvSplClose routine is subsequently called.

The user-mode printer driver should take any steps necessary to protect itself in the event that multiple jobs are printed simultaneously.

DrvSplAbort can be optionally implemented.