DrvSplEndDoc

VOID DrvSplEndDoc(

    HANDLE hDriver

   );

DrvSplEndDoc ends a print job.

Parameters

hDriver
Identifies the per-job instance handle with which the printer and print job are associated. The driver generated this handle in response to a call to DrvSplStartDoc.

Comments

The spooler calls DrvSplEndDoc at the normal end of a printed document. The user-mode printer driver should flush any pending I/O by calling the Win32 WritePrinter function.

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

DrvSplEndDoc must be implemented if you do write a user-mode printer driver.

See Also

DrvSplStartDoc