Share via


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.
  • 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.
  • 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.
  • 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.
  • 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.
  • GPEEnableDriver
    Initializes the callbacks that GDI provides for display drivers.
  • 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

See Also

Reference

Display Driver Reference