IPrintSchemaTicket2::GetParameterInitializer method (printerextension.h)
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(
[in] BSTR bstrName,
[in] BSTR bstrNamespaceUri,
[out, retval] IPrintSchemaParameterInitializer **ppParameterInitializer
);
Parameters
[in] bstrName
The keyword name.
[in] bstrNamespaceUri
The keyword namespace URI.
[out, retval] 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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 |
Minimum supported server | Windows Server 2012 |
Target Platform | Desktop |
Header | printerextension.h |