IPrinterExtensionRequest::Cancel method

Completes the extension event with a cancellation.

Syntax

HRESULT Cancel(
  HRESULT hrStatus,
  BSTR    bstrLogMessage
);

Parameters

hrStatus

bstrLogMessage

The log message.

Return Value

This method returns an HRESULT value.

Requirements

   
Minimum supported client Windows 8
Target Platform Desktop
Header printerextension.h

See Also

IPrinterExtensionRequest