DrvDisableSurface
This function notifies a driver that the surface created by the DrvEnableSurface function for the current device is no longer needed. The graphics device interface (GDI) uses this function to notify the driver.
VOID DrvDisableSurface(
DHPDEV dhpdev
);
Parameters
- dhpdev
[in] Handle to the PDEV structure that describes the surface of the physical device to release.
Return Values
None.
Remarks
This function is required for graphics drivers.
The driver should free any memory and resources used by the surface associated with PDEV as soon as the physical device is disabled.
If the physical device has an enabled surface, the GDI calls this function before calling DrvDisablePDEV.
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 | DrvDisablePDEV | DrvEnableSurface
Last updated on Tuesday, May 18, 2004
© 1992-2003 Microsoft Corporation. All rights reserved.