EndDoc

This function ends a print job.

int EndDoc( 
  HDC hdc
);

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

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.