Microsoft Windows CE 3.0  

g_pGPE

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 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 buildDDHALInfofunction.

You can use this global variable to perform DDGPEfunctions in your DirectDraw HAL implementation. Since it points to the DDGPE-derived class that you create in your driver, you can cast it to your custom derived class type and access any new functions you have created.

extern DDGPE*g_pGPE;


 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.