Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
This function is used by MGDI to notify a driver that the specified PDEVstructure is no longer needed.
VOID DrvDisablePDEV(IN DHPDEV dhpdev );
Parameters
Remarks
If the driver has been disabled by a call to the DrvEnablePDEVfunction, the driver cannot access the hardware during a call to the DrvDisableSurfacefunction because another active surface might be in use. Any necessary hardware changes should have been performed during the call to the DrvAssertModefunction. A driver should keep track of whether or not it has been disabled by DrvAssertModeso that it can perform proper cleanup operations in DrvDisableSurface.
If the physical device has an enabled surface, the GDI calls this function after calling DrvDisableSurface. The driver should free any memory and resources used by the PDEV.
This function is required for graphics drivers.
Requirements
Runs on | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 1.0 and later |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004