Display Driver Functions (Compact 2013)
3/26/2014
The list below describes the display driver functions and the purpose of each function.
- ContrastControl
Modifies the display contrast. This function must be implemented by the driver developer when it is needed.
- DisplayInit
First display driver function to execute.
- DrvAnyBlt
Performs a bit-block transfer with stretching or transparency.
- DrvBitBlt
Performs a bit-block transfer with clipping and masking.
- DrvCopyBits
Translates between device-managed raster surfaces and graphics device interface (GDI) standard format bitmaps.
- DrvCreateDeviceBitmap
Creates and manages bitmap files.
- DrvDeleteDeviceBitmap
Deletes a device bitmap created by DrvCreateDeviceBitmap.
- DrvDisableDriver
Notifies the display driver that the GDI no longer needs it and is ready to unload the driver.
- DrvDisablePDEV
Notifies a driver that the specified PDEV structure is no longer needed. Multiplatform Graphics Device Interface (MGDI) uses this function to notify the driver.
- DrvDisableSurface
Notifies a driver that the surface created by the DrvEnableSurface function for the current device is no longer needed.
- DrvEnableDriver
The initial driver entry point exported by the driver DLL for devices that link directly to Graphics, Windowing, and Events Subsystem (GWES), such as display drivers and printer drivers.
- DrvEnablePDEV
Enables a device context for drawing and returns device metrics for the target printer or display device in a GDIINFO structure.
- DrvEnableSurface
Sets up a surface to draw on and associates it with a specified PDEV structure.
- DrvEscape
Retrieves information from a device that is not available in a device-independent DDI.
- DrvFillPath
Fills a drawing path with a brush.
- DrvGetMasks
Retrieves the color masks for the display device's current mode.
- DrvGetModes
Lists the modes supported by a specified device.
- DrvGradientFill
Translates between device-managed raster surfaces and GDI standard format bitmaps.
- DrvMovePointer
Moves the pointer to a new position and ensures that the GDI does not interfere with the display of the pointer.
- DrvPaint
This function is obsolete and is no longer called by the GDI.
- DrvPowerHandler
Handles POWER_UP and POWER_DOWN notifications.
- DrvRealizeBrush
Requests that the driver realize a specified brush for a specified surface.
- DrvRealizeColor
Maps an RGB color onto the closest available color that the device supports.
- DrvSetPalette
Requests that the driver realize the palette for a specified device.
- DrvSetPointerShape
Requests the driver to take the pointer off the display if the driver has drawn it there, attempt to set a new pointer shape, and put the new pointer on the display at a specified position.
- DrvStrokePath
Strokes a path when called by the GDI.
- DrvTransparentBlt
Provides bit-block transfer capabilities with transparency.
- DrvUnrealizeColor
Maps a color in the display device's format to an RGB value.
- GetGPE
Executes in the GPE library while processing the DrvEnablePDEV and DrvGetModes DDI functions.
- GPEEnableDriver
Initializes the callbacks that GDI provides for display drivers.
- SetClearTypeBltGamma
Executes during the initialization time of the display driver.
- SetClearTypeBltMasks
Executes during the initialization time of the display driver.
- UpdateWindowSurface
Called by a display driver to update a window's back-buffer surface, the region in video memory or system memory that stores the pixels to be rendered onto a window in the UI