次の方法で共有


Display Driver Functions (Windows Embedded CE 6.0)

1/6/2010

The following table shows the Display driver functions with a description of the purpose of each.

Programming element Description

ContrastControl

This function is used to modify the display contrast. This function must be implemented by the driver developer when it is needed.

DisplayInit

This function is the first display driver function to execute.

DrvAnyBlt

This function performs a bit-block transfer with stretching or transparency.

DrvBitBlt

This function performs a general bit-block transfer with clipping and masking.

DrvCopyBits

This function translates between device-managed raster surfaces and graphics device interface (GDI) standard format bitmaps.

DrvCreateDeviceBitmap

This function creates and manages bitmap files.

DrvDeleteDeviceBitmap

This function deletes a device bitmap created by DrvCreateDeviceBitmap.

DrvDisableDriver

This function notifies the display driver that the GDI no longer needs it and is ready to unload the driver.

DrvDisablePDEV

This function notifies a driver that the specified PDEV structure is no longer needed. MGDI uses this function to notify the driver.

DrvDisableSurface

This function notifies a driver that the surface created by the DrvEnableSurface function for the current device is no longer needed.

DrvEnableDriver

This function is the initial driver entry point exported by the driver DLL for devices that link directly to GWES, such as display drivers and printer drivers.

DrvEnablePDEV

This function enables a device context for drawing and returns device metrics for the target printer or display device in a GDIINFO structure.

DrvEnableSurface

This function sets up a surface to draw on and associates it with a specified PDEV.

DrvEscape

This function retrieves information from a device that is not available in a device-independent DDI.

DrvFillPath

This function fills a drawing path with a brush.

DrvGetMasks

This function retrieves the color masks for the display device's current mode.

DrvGetModes

This function lists the modes supported by a specified device.

DrvGradientFill

This function translates between device-managed raster surfaces and graphics device interface (GDI) standard format bitmaps.

DrvMovePointer

This function moves the pointer to a new position and ensures that GDI does not interfere with the display of the pointer.

DrvPaint

This function is obsolete, and is no longer called by GDI.

DrvPowerHandler

This function handles POWER_UP and POWER_DOWN notifications.

DrvRealizeBrush

This function requests that the driver realize a specified brush for a specified surface.

DrvRealizeColor

This function maps an RGB color onto the closest available color that the device supports.

DrvSetPalette

This function requests that the driver realize the palette for a specified device.

DrvSetPointerShape

This function requests the driver to take the pointer off the display if the driver has drawn it there, and to attempt to set a new pointer shape, and put the new pointer on the display at a specified position.

DrvStrokePath

This function strokes a path when called by GDI.

DrvTransparentBlt

This function provides bit-block transfer capabilities with transparency.

DrvUnrealizeColor

This function maps a color in the display device's format to an RGB value.

GetGPE

This function executes in the GPE library while processing the DrvEnablePDEV and DrvGetModes DDI functions.

GPEEnableDriver

This function initializes the callbacks that GDI provides for display drivers.

SetClearTypeBltGamma

This function executes during the Init time of the display driver.

SetClearTypeBltMasks

This function executes during the Init time of the display driver.

See Also

Other Resources

Display Driver Reference