IPrintOemDriverUI::DrvUpdateRegistrySetting method is provided by the Unidrv and Pscript5 minidrivers so that 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 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.|
IPrintOemDriverUI::DrvUpdateRegistrySetting method is meant to be called from a user interface plug-in's IPrintOemUI::UpgradePrinter method, when it is necessary to update registry settings that were stored in private registry keys for an earlier version of the driver, but are now contained in a GPD or PPD file.
|Header||prcomoem.h (include Prcomoem.h)|