Share via


IPrintManagerTemplatePrinter::getPrintTaskOptionValue method

Returns the value of a print task option, given its key.

Syntax

HRESULT getPrintTaskOptionValue(
  [in]          BSTR    bstrKey,
  [out, retval] VARIANT *pvarin
);

Parameters

  • bstrKey [in]

  • pvarin [out, retval]

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

IDL

Mshtml.idl

See also

IPrintManagerTemplatePrinter