DDI functions

All Windows CE display drivers must implement the DDI functions listed here. However, only DrvEnableDriver must be exported from the display driver DLL. Therefore, only DrvEnableDriver must bear that name; the other functions can be called whatever you want because they are exposed to GDI through function pointers returned by DrvEnableDriver. No matter what you call them, of course, you must follow the prototypes defined in the WinDDI.H file.

Function Purpose
DrvAnyBlt Bit block transfer, with stretching or transparency.
DrvBitBlt General bit block transfer, with clipping and masking.
DrvContrastControl Allows software adjustment of the display hardware's contrast.
DrvCopyBits_wceddk_DrvCopyBits Sends GDI-created print band to printer driver.
DrvCreateDeviceBitmap Creates and manages bitmaps.
DrvDeleteDeviceBitmap Deletes a device bitmap.
DrvDisableDriver Notifies the driver that GDI no longer needs it and is ready to unload it.
DrvDisablePDEV_wceddk_DrvDisablePDEV Notifies the driver that GDI no longer needs a particular display device.
DrvDisableSurface_wceddk_DrvDisableSurface Notifies the driver that GDI no longer needs a particular drawing surface.
DrvEnableDriver_wceddk_DrvEnableDriver The initial entry point exposed by the driver, which returns pointers to the other DDI functions to GDI.
DrvEnablePDEV Returns a PDEV, a logical representation of a physical display device, to GDI.
DrvEnableSurface_wceddk_DrvEnableSurface Creates a drawing surface and associates it with a PDEV.
DrvEndDoc_wceddk_DrvEndDoc Sends any control information needed to finish printing a document.
DrvFillPath Fills a path with a brush.
DrvGetMasks Gets the color masks for the display device's current mode.
DrvGetModes_wceddk_DrvGetModes Lists the display modes supported by the display device.
DrvMovePointer Moves the pointer with a guarantee of non-interference by GDI.
DrvPaint Paints a specificied region with a brush.
DrvPowerHandler Called to handle power-up and power-down notifications.
DrvQueryFont Gets font metric information.
DrvRealizeBrush Creates a brush with parameters specified by GDI.
DrvRealizeColor Maps an RGB color onto the closest available color supported by the device.
DrvSetPalette Sets the display device's palette.
DrvSetPointerShape Set the pointer to a new shape and update the display.
DrvStartDoc_wceddk_DrvStartDoc Sends any control information needed to start printing a document.
DrvStartPage_wceddk_DrvStartPage Sends any control information needed to start printing a new page.
DrvStrokePath Strokes a path.
DrvTransparentBlt Bit block transfer, with transparency.
DrvUnrealizeColor Maps a color in the display device's format onto an RGB value.