g_pGPE (Windows Embedded CE 6.0)
1/6/2010
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.
Syntax
extern DDGPE* g_pGPE;
Requirements
Header | ddgpe.h |
Library | Ddgpe.lib |
Windows Embedded CE | Windows Embedded CE 6.0 and later |