Required Variables (Windows CE 5.0)

Send Feedback

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

DDGPE Interface Definition

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.