Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPrintJob::RequestCancel method

Requests the cancellation of a print job.

Syntax


HRESULT RequestCancel(
    void
);

Parameters

void

None.

Return value

Returns an HRESULT value. If the method call was not successful, it returns the appropriate HRESULT error code.

Remarks

The RequestCancel method does not wait for the cancellation of a print job to be processed to completion before it returns.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Target platform

Desktop

Header

Printerextension.h

See also

IPrintJob

 

 

Send comments about this topic to Microsoft

Show: