Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In the interests of reducing driver size, driver writers usually add only those optional functions that are well-supported in hardware. For example, a driver for hardware that supports Image Color Management (ICM) can implement the DrvIcmXxx functions. The following tables list the functions that a graphics driver can optionally implement.
Display and Printer Driver Functions
Entry Point | Description |
---|---|
Provides bit block transfer capabilities with alpha blending. |
|
Executes general bit block transfers to and from surfaces. |
|
Creates and manages a bitmap with a driver-defined format. |
|
Deletes a device-managed bitmap. |
|
Requests a device to create a brush dithered against a device palette. |
|
Paints a closed path for a device-managed surface. |
|
Shades the specified primitives. |
|
Checks whether the pixels in the specified bitmap lie within the device gamut of the specified transform. |
|
Creates an ICM color transform. |
|
Deletes the specified ICM color transform. |
|
Sets the hardware gamma ramp of the specified display device. |
|
Draws a single solid integer-only cosmetic line. |
|
Provides rotate bit block transfer capabilities between combinations of device-managed and GDI-managed surfaces. |
|
Realizes a specified brush for a defined surface. |
|
Allows stretching block transfers among device-managed and GDI-managed surfaces. |
|
Performs a stretching bit block transfer using a ROP. |
|
Simultaneously fills and strokes a path. |
|
Coordinates drawing operations between GDI and a display driver-supported coprocessor device; for engine-managed surfaces only. |
|
Coordinates drawing operations between GDI and a display driver-supported coprocessor device; for engine-managed surfaces only. If a driver provides both DrvSynchronize and DrvSynchronizeSurface, GDI will call only DrvSynchronizeSurface. |
|
Provides bit block transfer capabilities with transparency. |
Functions Used Exclusively by Display Drivers
Entry Point | Description |
---|---|
Moves a pointer to a new position, and redraws it. |
|
Saves or restores a specified rectangle of the screen (display driver only). |
|
Removes the pointer from the screen, if the driver has drawn it, and then sets a new pointer shape. |
Functions Used Primarily by Printer Drivers
Entry Point | Description |
---|---|
Notifies driver that a font realization is no longer needed; driver can free allocated data structures. |
|
Implements draw-type escape functions. |
|
Queries information from a device not available in a device-independent DDI. |
|
Frees font storage associated with an indicated data structure. |
Functions Used Exclusively by Printer Drivers
Entry Point | Description |
---|---|
Sends end-of-document information. |
|
Allows access to printer functionality not directly available through GDI. |
|
Returns type of font information to be stored for a particular font. |
|
Realizes the contents of a surface's just-drawn band. |
|
Returns banding information for the specified banded printer surface. |
|
Sends raw bits from a surface to the printer. |
|
Prepares the driver for banding. |
|
Sends start-of-document control information. |
|
Sends start-of-page control information. |
Font Driver Function
Entry Point | Description |
---|---|
Supplies character advance widths for a specified set of glyphs. |