g_pDDrawPrimarySurface (Windows CE 5.0)
The g_pDDrawPrimarySurface global variable is a pointer to a DDGPESurf class that represents the primary DirectDraw surface. It is set by DDGPE and is valid upon entry into buildDDHALInfo.
Use this global variable whenever you must access the primary DirectDraw surface.
extern DDGPESurf* g_pDDrawPrimarySurface;
Requirements
OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Ddgpe.h.
Link Library: Ddgpe.lib.
See Also
Send Feedback on this topic to the authors