IPrinterExtensionRequest::Cancel method (printerextension.h)

Completes the extension event with a cancellation.

Syntax

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

Parameters

hrStatus

[in] 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