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

   
Target Platform Windows
Header printoem.h (include Printoem.h)