Required Display Driver Functions
At a minimum, every display driver must:
Enable and disable the graphics hardware.
Supply GDI with information about hardware capabilities.
Enable the drawing surface.
The following table lists the functions that all display drivers must implement. Following DrvEnableDriver, the remaining functions are listed alphabetically. Note that except for DrvEnableDriver, which GDI calls by name, all other display driver functions do not have fixed names, and are listed with pseudonyms.
Function | Description |
---|---|
As the initial driver entry point, provides GDI with the driver version number and entry points of optional functions supported. |
|
Resets the video mode for a specified video hardware device. |
|
Informs the driver about the completion of device installation. |
|
Frees all allocated resources for the driver and returns the device to its initially loaded state. |
|
When the hardware is no longer needed, frees memory and resources used by the device and any surface created, but not yet deleted. |
|
Informs the driver that the surface created for the current device is no longer needed. |
|
Enables a PDEV. |
|
Creates a surface for a specified hardware device. |
|
Lists the modes supported by a specified video hardware device. |
A list of required functions for all graphics drivers appears in Required Graphics Driver Functions.