ENDDOC

short Escape(hdc, ENDDOC, NULL, NULL, NULL)

The ENDDOC printer escape is maintained for backwards compatibility. Applications written for Windows 3.1 should use the EndDoc function.

This escape ends a print job started by a STARTDOC escape.

Parameters

hdc

HDC Identifies the device context.

Return Value

The return value specifies the outcome of the escape. This value is positive if the escape is successful. Otherwise, it is zero or negative.

Comments

The ENDDOC escape should not be used inside metafiles.