Export (0) Print
Expand All

GPEEnableDriver (Windows CE 5.0)

Windows CE 5.0
Send Feedback

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
);

Parameters

iEngineVersion
[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.
cj
[in] Size in bytes of the DRVENABLEDATA structure. If the structure is larger than expected, extra members should not be modified.
pded
[out] Pointer to a DRVENABLE structure.
pEngCallbacks
[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.

Return Values

TRUE if successful. FALSE if failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Gpe.h.
Link Library: Gpe_lib.lib.

See Also

Display Drivers | DRVENABLEDATA


Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


Show:
© 2014 Microsoft