DrvEndDoc

This function causes the driver to send any control information needed at the end of a document.

Syntax

BOOL DrvEndDoc( IN SURFOBJ *pso, IN FLONG fl );

Parameters

pso
Pointer to a SURFOBJ structure that defines the surface object. The structure can be queried to find its type and what PDEV structure it is associated with.
fl
Specifies a set of flags. If the ED_ABORTDOC flag is set, the print job has been canceled or aborted.

Return Values

TRUE indicates success. FALSE indicates failure.

Remarks

This function is required for printer drivers.