IPrintJob::RequestCancel method (printerextension.h)
Requests the cancellation of a print job.
Syntax
HRESULT RequestCancel();
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8.1 |
Minimum supported server | Windows Server 2012 R2 |
Target Platform | Desktop |
Header | printerextension.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for