Microsoft Windows CE 3.0  

Required Variables

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

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

g_pDDrawPrimarySurface Contains a pointer to a DDGPESurfclass 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.


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.