Partager via


GPEMode (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Header gpe.h
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Display Driver Structures

Other Resources

Display Drivers