Share via


updatePageStatus method

Indicates the status of a print job.

Syntax

HRESULT retVal = object.updatePageStatus(p);

Parameters

  • p [in]
    Type: long

    long value that, when set to a value greater than 0, indicates the print job is spooling to the printer, and, when set to 0, indicates the print job has stopped spooling.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.