DrvDisablePDEV (Windows CE 5.0)
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 );
- [in] Pointer to the PDEV that describes the physical device to disable. This value is the handle returned by the DrvEnablePDEV function.
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.
OS Versions: Windows CE 1.0 and later.
Link 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, or Ddi_tvia5_lib.lib.
Send Feedback on this topic to the authors