IPrinterExtensionContext::get_PrintSchemaTicket method

Gets the print ticket that is appropriate for the queue and the activation.

This property is read-only.

Syntax

HRESULT get_PrintSchemaTicket(
  IPrintSchemaTicket **ppTicket
);

Parameters

ppTicket

Return Value

Returns an HRESULT value. If the property call was not successful, it returns the appropriate HRESULT error code.

Returns E_ILLEGAL_METHOD_CALL if called from the IPrinterExtensionEvent::OnPrinterQueuesEnumerated context.

Requirements

   
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Windows
Header printerextension.h

See Also

IPrintSchemaTicket

IPrinterExtensionContext