IPrintSchemaTicket::GetCapabilities method

Gets an IPrintSchemaCapabilities object that represents the printer capabilities based on the current settings of this IPrintSchemaTicket object.

Syntax

HRESULT GetCapabilities(
  IPrintSchemaCapabilities **ppCapabilities
);

Parameters

ppCapabilities

Return Value

This method returns an HRESULT value.

Remarks

Because this method retrieves a new PrintCapabilities document every time it is invoked, it is recommended that you invoke this method only when the IPrintSchemaTicket object has been modified.

Requirements

   
Target Platform Desktop
Header printerextension.h

See Also

IPrintSchemaCapabilities

IPrintSchemaElement::XmlNode

IPrintSchemaFeature::SelectedOption

IPrintSchemaTicket

IPrintSchemaTicket::put_JobCopiesAllDocuments