Share via


EDDGPEPixelFormatToEGPEFormat (Windows CE 5.0)

Send Feedback

This conversion array converts from EDDGPEPixelFormat to EGPEFormat.

const EGPEFormatEDDGPEPixelFormatToEGPEFormat[] = {gpe1Bpp, gpe2Bpp, gpe4Bpp, gpe8Bpp, gpe16Bpp, gpe16Bpp, gpe16Bpp, gpe16Bpp, gpe24Bpp, gpe32Bpp, gpe16Bpp, gpe16Bpp, gpe16Bpp, gpe16Bpp, gpe24Bpp, gpe32Bpp, gpeUndefined};

Remarks

Although DDGPE leaves many of the original GPE methods intact, DDGPE augments surface support by adding pixel format data type. Drivers that track only a single pixel format type for a particular surface or mode can use the EDDGPEPixelFormatToEGPEFormat data type to convert a pixel format type from DDGPE-style to GPE-style.

The conversion from a DDGPE pixel format to a GPE pixel format is a lossy one. GPE cannot realize all of the information about a surface that your driver or even DDGPE can. This loss of information might cause visually apparent problems when calling on GPE to perform certain types of emulated blits.

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

DDGPE Data Structures, Types, and Constants

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.