Partager via


Required Variables (Windows Embedded CE 6.0)

1/6/2010

The following table shows global variables that should be declared in your driver. Some of these variables are set up by DDGPE, but others are driver-specific and must be set up in your buildDDHALInfo function.

Variable Description

g_pDDrawPrimarySurface

Contains a pointer to a DDGPESurf class representing the primary DirectDraw surface.

g_pGPE

Contains a pointer to the DDGPE-based class created and implemented by the driver.

g_pVideoMemory

Contains a virtual address of video memory.

g_nVideoMemorySize

Contains the total amount of video memory available on the hardware.

See Also

Concepts

DDGPE Interface Definition