Answers whether a given lengthy printing operation should continue.
HRESULT FContinuePrinting(
LONG cPagesPrinted, // Total pages printed at time of call
LONG nCurrentPage, // Number of page currently being printed
LPOLESTR pszPrintStatus
// Pointer to status message about print job
);
This method supports the standard return value E_UNEXPECTED, as well as the following:
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 cPagesPrinted and nCurrentPage 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.