Skip to content

Latest commit

 

History

History
112 lines (89 loc) · 3.65 KB

nf-docobj-icontinuecallback-fcontinueprinting.md

File metadata and controls

112 lines (89 loc) · 3.65 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:docobj.IContinueCallback.FContinuePrinting
IContinueCallback::FContinuePrinting (docobj.h)
Indicates whether a lengthy printing operation should continue.
FContinuePrinting
FContinuePrinting method [COM]
FContinuePrinting method [COM]
IContinueCallback interface
IContinueCallback interface [COM]
FContinuePrinting method
IContinueCallback.FContinuePrinting
IContinueCallback::FContinuePrinting
_com_icontinuecallback_fcontinueprinting
com.icontinuecallback_fcontinueprinting
docobj/IContinueCallback::FContinuePrinting
com\icontinuecallback_fcontinueprinting.htm
com
9031809a-8e5b-48d9-8af9-4a1a07532406
12/05/2018
FContinuePrinting, FContinuePrinting method [COM], FContinuePrinting method [COM],IContinueCallback interface, IContinueCallback interface [COM],FContinuePrinting method, IContinueCallback.FContinuePrinting, IContinueCallback::FContinuePrinting, _com_icontinuecallback_fcontinueprinting, com.icontinuecallback_fcontinueprinting, docobj/IContinueCallback::FContinuePrinting
docobj.h
Windows
Windows 2000 Professional [desktop apps only]
Windows 2000 Server [desktop apps only]
DocObj.idl
Windows
19H1
IContinueCallback::FContinuePrinting
docobj/IContinueCallback::FContinuePrinting
c++
APIRef
kbSyntax
COM
DocObj.h
IContinueCallback.FContinuePrinting

IContinueCallback::FContinuePrinting

-description

Indicates whether a lengthy printing operation should continue.

-parameters

-param nCntPrinted [in]

The total number of pages that have been printed at the time the object receives a call to FContinuePrinting.

-param nCurPage [in]

The page number of the page being printed at the time the object receives a call to FContinuePrinting.

-param pwszPrintStatus [in]

A pointer to the message about the current status of the print job. The object being printed may or may not display this message to the user. This parameter can be NULL.

-returns

This method can return the standard return value E_UNEXPECTED, as well as the following values.

Return code Description
S_OK
Continue the printing operation.
S_FALSE
Cancel the printing operation as soon as possible.

-remarks

Implementations of IPrint::Print call this method at periodic intervals during the printing process. The IPrint implementation should call back at least after printing each page, so that its client can, if necessary, display useful visual feedback to the user. IPrint::Print can call back multiple times with the same nCntPrinted and nCurPage values, which is sometimes useful when a page being printed is complex and it is appropriate to give a user an opportunity to cancel in mid-page.

-see-also

IContinueCallback

IPrint