次の方法で共有


IContinueCallback::FContinuePrinting (Compact 2013)

3/26/2014

This method answers whether a given lengthy printing operation should continue.

Syntax

HRESULT FContinuePrinting(
  LONG cPagesPrinted, 
  LONG nCurrentPage, 
  LPOLESTR pszPrintStatus 
);

Parameters

  • cPagesPrinted
    [in] Total number of pages that have been printed at the time the object receives a call to IContinueCallback::FContinuePrinting.
  • nCurrentPage
    [in] Page number of the page being printed at the time the object receives a call to IContinueCallback::FContinuePrinting.
  • pszPrintStatus
    [in] Pointer to message about the current status of the print job. The object being printed may or may not display this message to the user. May be NULL.

Return Value

This method supports the standard return value E_UNEXPECTED.

If the printing operation should continue, the method returns S_OK.

If the print job should be cancelled as soon as possible, the method returns S_FALSE.

Remarks

To determine whether the platform supports this interface, see Determining Supported COM APIs.

Requirements

Header

docobj.h

Library

Developer Implemented

See Also

Reference

IContinueCallback