EndDoc (Windows CE 5.0)

Send Feedback

This function ends a print job.

int EndDoc(  HDChdc);

Parameters

  • hdc
    [in] Handle to the device context (DC) for the print job.

Return Values

A value greater than zero indicates success. A value less than or equal to zero indicates failure. To get extended error information, call GetLastError.

Remarks

Applications should call this function immediately after finishing a print job.

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Wingdi.h.
Link Library: Mgprint.lib.

See Also

EndPage | StartDoc

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.