EDDGPEPixelFormat (Windows CE 5.0)
This data type identifies a specific memory layout associated with a surface.
typedef enum EDDGPEPixelFormat{ddgpePixelFormat_1bpp = 0,ddgpePixelFormat_2bpp, ddgpePixelFormat_4bpp, ddgpePixelFormat_8bpp, ddgpePixelFormat_565, ddgpePixelFormat_5551, ddgpePixelFormat_4444, ddgpePixelFormat_5550, ddgpePixelFormat_8880, ddgpePixelFormat_8888, ddgpePixelFormat_YUYV422, ddgpePixelFormat_UYVY422, // some generic types
// Use dwPixelFormatData in conjunction with this info
ddgpePixelFormat_15bppGeneric, ddgpePixelFormat_16bppGeneric, ddgpePixelFormat_24bppGeneric, ddgpePixelFormat_32bppGeneric, ddgpePixelFormat_UnknownFormat, // you can assign custom formats starting with this value
ddgpePixelFormat_CustomFormat = 0x1000};
Remarks
If a surface type required by your driver is missing from the list of supported types, use one of the generic types to indicate the bit-depth of your surface. A custom pixel-format data field is offered in data structures that rely on the EDDGPEPixelFormat data type. Use this field to store additional information for your driver.
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