IPrintSchemaTicket2::GetParameterInitializer method

The GetParameterInitializer method retrieves the IPrintSchemaParameterInitializer object, and it represents the psf:ParameterInit element in the PrintTicket XML.

The keyword name and keyword namespace URI specify the IPrintSchemaParameterInitializer object to be retrieved.

Syntax

HRESULT GetParameterInitializer(
  BSTR                             bstrName,
  BSTR                             bstrNamespaceUri,
  IPrintSchemaParameterInitializer **ppParameterInitializer
);

Parameters

bstrName

The keyword name.

bstrNamespaceUri

The keyword namespace URI.

ppParameterInitializer

The IPrintSchemaParameterInitializer object.

Return Value

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

Requirements

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

See Also

IPrintSchemaParameterInitializer

IPrintSchematicket2