Share via


DrvEndDoc (Compact 2013)

3/26/2014

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

Syntax

BOOL DrvEndDoc(
  SURFOBJ* pso,
  FLONG fl 
);

Parameters

  • pso
    [in] Pointer to a SURFOBJ structure that defines the surface object. You can query this structure to find its type and what PDEV structure it is associated with.
  • fl
    [in] If set to ED_ABORTDOC, the user canceled or aborted the print job.

Return Value

TRUE indicates success. FALSE indicates failure.

Remarks

This function is required for printer drivers.

Requirements

Header

winddi.h

See Also

Reference

Printer Driver Functions