Microsoft Windows CE 3.0  

EDDGPEPixelFormat

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.

This section describes the EDDGPEPixelFormatdata type and its values.

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

The EDDGPEPixelFormatdata type is used to identify a specific memory layout associated with a surface.

If a surface type required by your driver is missing from the list of supported types, you should try to 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 EDDGPEPixelFormatdata type. This field should be used to store any additional information your driver requires.



 Last updated on Tuesday, July 13, 2004

© 2004 Microsoft Corporation. All rights reserved.