Share via


EndDoc (Windows Embedded CE 6.0)

1/6/2010

This function ends a print job.

Syntax

int EndDoc( 
  HDC hdc
);

Parameters

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

Return Value

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

Header wingdi.h
Library Mgprint.lib
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

Printing Functions
EndPage
StartDoc