Share via


Display Driver Methods

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

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

Programming element Description

GPE::AllocSurface

This method executes when the driver must allocate storage for surface pixels.

GPE::BltComplete

This method executes to complete a blit sequence initiated by GPE::BltPrepare. GPE calls this method.

GPE::BltPrepare

This method identifies the appropriate functions needed to perform individual blits.

GPE::GetModeInfo

This method populates a GPEMode structure with data for the requested mode.

GPE::Line

This method executes before and after a sequence of line segments, which are drawn as a path.

GPE::MovePointer

This method executes from applications either to move the hot spot of the cursor to a specific screen location or to hide the cursor.

GPE::NumModes

This method returns the number of display modes supported by a driver. A simple implementation returns 1.

GPE::SetMode

This method executes to enable the device driver based on the Graphics Primitive Engine (GPE) and to request a specific mode for the display.

GPE::SetPointerShape

This method sets the shape of the pointer, the hot spot of the pointer, and the colors to use for the cursor if the cursor is multicolored.

GPESurf::GPESurf

This method creates a system-memory surface and allocates storage.

GPESurf::Init

This method initializes a newly created GPESurf object.

See Also

Other Resources

Display Driver Reference