GPEMode (Windows CE 5.0)

Send Feedback

This structure contains information on the width, height, bits per pixel (bpp), frequency, and format.

struct GPEMode {int modeId;int width;int height;int Bpp;int frequency;EGPEFormat format;};

Members

  • modeId
    Number determined by the developer. Each video mode, resolution, bit-depth, and vertical retrace frequency, has a number determined by the driver developer.
  • width
    Width of primary surface, or screen, in pixels. For example, 640.
  • height
    Height of primary surface, or screen, in pixels. For example, 480.
  • Bpp
    Bpp, number of bits that represent each pixel on a screen. For example 16 bpp is 2 to 16th power, which is 65,536 possible unique colors per pixel.
  • frequency
    Monitor frequency, the vertical retrace frequency. Which is the number of whole screen scans of the cathode ray tube gun per second.
  • format
    RGB representation. Specifies how the bits in a pixel represent RGB, such as how many bits are used for red, green, or blue, or a palletized value where the pixel value is an offset into a palette.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Gpe.h.

See Also

Display Drivers

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.