Share via


DrvDisablePDEV (Windows Embedded CE 6.0)

1/6/2010

This function notifies a driver that the specified PDEV structure is no longer needed. MGDI uses this function to notify the driver.

Syntax

VOID DrvDisablePDEV(
  DHPDEV dhpdev 
);

Parameters

  • dhpdev
    [in] Pointer to the PDEV that describes the physical device to disable. This value is the handle returned by the DrvEnablePDEV function.

Return Value

None.

Remarks

This function is required for graphics drivers.

If a call to the DrvEnablePDEV function disabled the driver, the driver cannot access the hardware during a call to the DrvDisableSurface function because another active surface might be in use.

If the physical device has an enabled surface, the graphics device interface (GDI) calls this function after calling DrvDisableSurface. The driver should free any memory and resources used by the PDEV.

Requirements

Header winddi.h
Library Ddi_ati_lib.lib, Ddi_flat_lib.lib, Ddi_gx_lib.lib, Ddi_mq200_lib.lib, Ddi_nop_lib.lib, Ddi_rflat_lib.lib, Ddi_rgx_lib.lib, Ddi_tvia5_lib.lib
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Display Driver Functions
DrvDisableSurface
DrvEnablePDEV

Other Resources

Display Drivers