g_pGPE (Windows CE 5.0)
The g_pGPE global variable is a pointer to the DDGPE-based class that is created and implemented by your driver. Your driver should define the g_pGPE global variable, but it should not attempt to set it. It will be set up inside DDGPE and will be valid upon entering your buildDDHALInfo function.
You can use this global variable to perform DDGPE functions in your DirectDraw hardware abstraction layer (DDHAL) implementation. Because it points to the DDGPE-derived class that you create in your driver, you can cast it to your custom-derived class type to access any new functions you have created.
extern DDGPE* g_pGPE;
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