Share via


Gdi::EndDoc_I (Windows Embedded CE 6.0)

1/6/2010

This method ends a print job.

Syntax

static WINGDIAPI int WINAPI EndDoc_I(
  HDC hdc
);

Parameters

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

This method is an internal version of the EndDoc function.

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

Requirements

Header gdi.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

Gdi
EndDoc
Gdi::EndPage_I
Gdi::StartDocW_I