Share via


Required Variables (Compact 2013)

3/26/2014

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

Reference

DDGPE Interface Definition