int EndDoc(hDC) | |||||
HDC hDC; | /* device-context handle | */ |
The EndDoc function ends a print job. This function replaces the ENDDOC printer escape for Windows version 3.1 and later.
hDC
Identifies the device context for the print job.
The return value is TRUE if the function was successful, or FALSE if an error occurred. Use the GetLastError function to obtain extended error information.
Applications should call the EndDoc function immediately after finishing a print job.
Escape, StartDoc