Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Guide to Clip-4-Win version 3.0 - <b>enddoc()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
EndDoc()
End a print job
------------------------------------------------------------------------------

Syntax
EndDoc( <hDC> )   -->   nStatus

Arguments
<hDC> is the handle of the device context to stop printing to.

Returns
If successful, a positive numeric is returned, otherwise a
negative value is returned (one of the SP_* values defined in
WINDOWS.CH).

Description
This function ends a print job previously started using the
StartDoc() function.  Using these functions makes sure that
multi-page print jobs are not interspersed with other print
jobs.

To abort a print job, use the AbortDoc() function.

Example
See GetPrintDC().


See Also: AbortDoc() CreateDC() GetPrintDC() StartDoc()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson