IPrinterExtensionRequest::Cancel method (printerextension.h)

Completes the extension event with a cancellation.

Syntax

HRESULT Cancel(
       HRESULT hrStatus,
  [in] BSTR    bstrLogMessage
);

Parameters

hrStatus

The operation result.

[in] bstrLogMessage

The log message.

Return value

This method returns an HRESULT value.

Requirements

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

See also

IPrinterExtensionRequest