IPrintSchemaTicket::GetCapabilities method (printerextension.h)

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

The returned IPrintSchemaCapabilities object.

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

Requirement Value
Target Platform Desktop
Header printerextension.h

See also

IPrintSchemaCapabilities

IPrintSchemaElement::XmlNode

IPrintSchemaFeature::SelectedOption

IPrintSchemaTicket

IPrintSchemaTicket::put_JobCopiesAllDocuments