DrvDisablePDEV function (winddi.h)

The DrvDisablePDEV function is used by GDI to notify a driver that the specified PDEV is no longer needed.

Syntax

void DrvDisablePDEV(
  DHPDEV dhpdev
);

Parameters

dhpdev

Handle to the PDEV of the physical device to be disabled. This value is the handle returned by DrvEnablePDEV.

Return value

None

Remarks

If the physical device has an enabled surface, GDI calls DrvDisablePDEV after calling DrvDisableSurface. The driver should free any memory and resources used by the PDEV.

DrvDisablePDEV is required for graphics drivers.

Requirements

Requirement Value
Target Platform Desktop
Header winddi.h (include Winddi.h)

See also

DrvAssertMode

DrvDisableSurface

DrvEnablePDEV