Bewerken

Delen via


IPrinterScriptUsbJobContextReturnCodes::Failure method

Returns a value of '1' to inform USBMon that the method call failed.

Syntax

HRESULT Failure(
  [out, retval] UINT32 *value
);

Parameters

value [out, retval]
Value that indicates a failed method call.

Return value

This method returns an HRESULT value.

Remarks

Failure is a read-only method. When USBMon receives this failure value, it cleans up the Job Context object and returns an error code to the print spooler.

Requirements

Minimum supported client: Windows 8.1

Minimum supported server: Windows Server 2012 R2

Target platform: Desktop

See also

IPrinterScriptUsbJobContextReturnCodes