Compartir a través de


GDI Functions for Display Drivers (Compact 2013)

3/26/2014

The following table shows the system-supplied GDI functions that a display or printer driver can call, with a description of the purpose of each.

Programming element

Description

BRUSHOBJ_pvAllocRbrush

This function allocates memory that the display driver requires for realization of a specified brush.

BRUSHOBJ_pvGetRbrush

This function retrieves a pointer to the realization of a specified brush.

CLIPOBJ_bEnum

This function enumerates a batch of rectangles from a specified clip region. A prior call to the CLIPOBJ_cEnumStart determines the order of enumeration.

CLIPOBJ_cEnumStart

This function sets parameters for enumerating rectangles in a specified clip region.

EngCreateDeviceBitmap

This function requests GDI to create a handle to a bitmap image.

EngCreateDeviceSurface

This function creates and returns a handle to a surface that the driver manages.

EngCreatePalette

This function sends a request to GDI to create a palette.

EngDeleteSurface

This function deletes a specified surface.

PALOBJ_cGetColors

This function copies colors from an indexed palette.

PATHOBJ_bEnum

This function retrieves the next record from a PATHDATA structure for a specified path and enumerates the curves in the path.

PATHOBJ_vEnumStart

This function notifies a specified PATHOBJ structure that the driver is to call the PATHOBJ_bEnum function to enumerate lines or curves in the path.

PATHOBJ_vGetBounds

This function retrieves the bounding rectangle for the specified path.

XLATEOBJ_cGetPalette

This function retrieves colors from a specified palette or the bitfields format of the palette.

See Also

Reference

Display Driver Reference