Gdi::EndDoc_I

This method ends a print job.

static WINGDIAPI int WINAPI EndDoc_I(
  HDC hdc
);

Parameters

  • hdc
    [in] Handle to the device context 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

This method is an internal version of the EndDoc function.

Applications should call Gdi::EndDoc_I immediately after finishing a print job.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Gdi.hpp.

See Also

EndDoc | Gdi::EndPage_I | Gdi::StartDocW_I

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.