Display Buffer Formats

The Windows CE GDI supports displays with a wide variety of color depths and color models, from one-bit color to palettized color to true 32-bit RGB. Each format also supports several pixel-orderings depending on whether access to the display memory is by bytes, two-byte words, or 4-byte dwords.

All display buffer formats assume that the order of pixels on the display is from left to right, and top to bottom. That is, pixel (0,0) is at the upper left corner of the display, and pixel (width-1, height-1) is at the lower right corner.