All graphics drivers must support the entry points that GDI calls to enable and disable the driver, the PDEV, and the surface associated with each PDEV. The following table lists the needed functions in the order in which they are typically called.
Entry Point |
Description |
As the initial driver entry point, provides GDI with the driver version number and entry points of optional functions supported. | |
Lists the modes supported by a specified video hardware device. (This function is required of display drivers only.) | |
Enables a PDEV. | |
Informs the driver upon completion of device installation. | |
Creates a surface for a specified hardware device. | |
Informs the driver that the surface created for the current device is no longer needed. | |
When the hardware is no longer needed, frees memory and resources used by the device and any surface created, but not yet deleted. | |
Frees all allocated resources for the driver and returns the device to its state when initially loaded. | |
Resets the video mode for a specified hardware device. (This function is required of display drivers only.) |