IPrinterExtensionContext::get_PrintSchemaTicket method (printerextension.h)

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

The appropriate print ticket.

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

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

See also

IPrintSchemaTicket

IPrinterExtensionContext