Partager via


DDGPE Class (Compact 2013)

3/26/2014

The DDGPE class serves as the base from which a DirectDraw display driver can be derived.

The following table shows the methods defined in the DDGPE class.

For a description of the DDGPE class, see DDGPE Class Definition.

Method

Description

DDGPE::AllocBackBuffer

A special case allocator for creating back buffers for the primary surface.

DDGPE::AllocSurface

Allocates memory for a new surface.

DDGPE::AllocVideoSurface

Creates a DDGPESurf object in memory.

DDGPE::BltExpanded

Sets up and performs a GPE blit.

DDGPE::BltPrepare

Provides a DDGPE version of the GPE BltPrepare function.

DDGPE::DDGPEPrimarySurface

Returns a pointer to the primary surface associated with this object.

DDGPE::DetectMode

Determines the display mode that corresponds to supplied parameters.

DDGPE::DetectPixelFormat

Translates DDPIXELFORMAT into EGPEFormat or EDDGPEPixelFormat.

DDGPE::GetDriverData

Retrieves a pointer to driver data.

DDGPE::GetDriverGUID

Obtains the driver-specific globally unique identifier (GUID) of the specified object.

DDGPE::GetModeInfoEx

Returns extended mode information.

DDGPE::GetPhysicalModeId

Retrieves the mode of the display, if different from the current graphics device interface (GDI) mode.

DDGPE::InDisplay

Determines if the specified scanline is in the display.

DDGPE::PerformBlt

Performs a blit.

DDGPE::SetDriverData

Stores driver-specific data in the DDGPE object.

DDGPE::SetDriverGUID

Applies the driver's GUID to the specified object.

DDGPE::SetMode

Changes the current display mode.

DDGPE::SetVisibleSurface

Causes the specified GPE surface to flip to the display.

DDGPE::WrapSurface

Creates an object based on DDGPESurf on an existing block of memory.

m_dwPhysicalModeID

Contains the mode identifier for the current display mode, regardless of GDI settings.

m_pModeEx

Contains GDI's current mode information. Initialized by the driver.

See Also

Reference

DDGPE Base Classes
DDGPE Class Definition