GPEEnableDriver (Windows CE 5.0)
This function initializes the callbacks that GDI provides for display drivers. It also fills in the driver entry points for the display driver in the DRVENABLEDATA structure.
BOOL APIENTRY GPEEnableDriver( ULONG iEngineVersion, ULONG cj, DRVENABLEDATA* pded, PENGCALLBACKS pEngCallbacks );
- [in] DDI version number that GDI was written for. Set to DDI_DRIVER_VERSION to specify the current version. Drivers should use this manifest constant that is defined in Winddi.h.
- [in] Size in bytes of the DRVENABLEDATA structure. If the structure is larger than expected, extra members should not be modified.
- [out] Pointer to a DRVENABLE structure.
- [in] Structure containing function pointers to the GDI helper functions for display drivers. This is passed from GDI through DrvEnableDriver to GPEEnableDriver. It allows the display driver to obtain information from GDI.
TRUE if successful. FALSE if failure.
OS Versions: Windows CE 1.0 and later.
Link Library: Gpe_lib.lib.
Send Feedback on this topic to the authors