DrvDisablePDEV function

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

Header

Winddi.h (include Winddi.h)

See also

DrvAssertMode
DrvDisableSurface
DrvEnablePDEV

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft. All rights reserved.