PFN_DrvUpgradeRegistrySetting callback function (printoem.h)
The DrvUpgradeRegistrySetting function is obsolete.
Windows 2000 and later UI plug-ins should use IPrintOemDriverUI::DrvUpgradeRegistrySetting or IPrintCoreUI2::DrvUpgradeRegistrySetting.
This function pointer prototype defines the type of the pfnUpgrade parameter of the OEMUpgradeRegistry function.
Syntax
PFN_DrvUpgradeRegistrySetting PfnDrvupgraderegistrysetting;
BOOL PfnDrvupgraderegistrysetting(
HANDLE hPrinter,
PCSTR pFeature,
PCSTR pOption
)
{...}
Parameters
hPrinter
Defines the HANDLE parameter hPrinter.
pFeature
Defines the PCSTR parameter pFeature.
pOption
Defines the PCSTR parameter pOption.
Return value
Returns a BOOL value.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | printoem.h (include Printoem.h) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for