Share via


DrvDisablePDEV

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

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 Values

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

OS Versions: Windows CE 1.0 and later.
Header: Winddi.h.
Link Library: Ddi_ati_lib.lib, Ddi_flat_lib.lib, Ddi_gx_lib.lib, Ddi_mq200_lib.lib, Ddi_nop_lib.lib, Ddi_perm3_lib.lib, Ddi_rflat_lib.lib, Ddi_rgx_lib.lib, or Ddi_tvia5_lib.lib.

See Also

Display Drivers | DrvDisableSurface | DrvEnablePDEV

 Last updated on Tuesday, May 18, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.