PFN_DrvGetDriverSetting callback function (printoem.h)

The DrvGetDriverSetting function is obsolete.

Windows 2000 and later printer drivers should use IPrintOemDriverUI::DrvGetDriverSetting, IPrintCoreUI2::DrvGetDriverSetting (UI plug-ins), IPrintOemDriverUni::DrvGetDriverSetting (Unidrv plug-ins) or IPrintOemDriverPS::DrvGetDriverSetting (Pscript plug-ins)

This function pointer type defines the type of the DrvGetDriverSetting member of the OEMUIPROCS and DRVPROCS structures.

Syntax

PFN_DrvGetDriverSetting PfnDrvgetdriversetting;

BOOL PfnDrvgetdriversetting(
                  PVOID pdriverobj,
                  PCSTR Feature,
                  PVOID pOutput,
                  DWORD cbSize,
  [out, optional] PDWORD pcbNeeded,
  [out, optional] PDWORD pdwOptionsReturned
)
{...}

Parameters

pdriverobj

Defines the PVOID parameter pdriverobj.

Feature

Defines the PCSTR parameter Feature.

pOutput

Defines the PVOID parameter pOutput.

cbSize

Defines the DWORD parameter cbSize.

[out, optional] pcbNeeded

Defines the PDWORD parameter pcbNeeded.

[out, optional] pdwOptionsReturned

Defines the PDWORD parameter pdwOptionsReturned.

Return value

Returns a BOOL value.

Requirements

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