IPrintCoreUI2::DrvUpgradeRegistrySetting method is provided by the Windows XP Pscript5 driver so that Pscript5 user interface plug-ins can update device settings stored in the registry.
HRESULT DrvUpgradeRegistrySetting( HANDLE hPrinter, PCSTR pFeature, PCSTR pOption );
Caller-supplied printer handle.
Caller-supplied pointer to a string identifying a printer feature name contained in the printer's GPD or PPD file.
Caller-supplied pointer to a string identifying an option name, associated with the specified feature, contained in the printer's GPD or PPD file.
The method must return one of the following values.
||The operation succeeded.|
||The operation failed.|
||The method is not implemented.|
This method is inherited from the IPrintOemDriverUI COM Interface, which includes a
DrvUpgradeRegistrySetting method. The behavior of this method is exactly the same as that of IPrintOemDriverUI::DrvUpgradeRegistrySetting.
This method should be called only by the OEM's IPrintOemUI::UpgradePrinter method.
|Header||prcomoem.h (include Prcomoem.h)|