共用方式為


RGBTRIPLE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This structure describes a color consisting of relative intensities of red, green, and blue. The bmciColors member of the BITMAPCOREINFO structure consists of an array of RGBTRIPLE structures.

Syntax

typedef struct tagRGBTRIPLE { 
  BYTE rgbtBlue; 
  BYTE rgbtGreen; 
  BYTE rgbtRed; 
} RGBTRIPLE;

Members

  • rgbtBlue
    Specifies the intensity of blue in the color.
  • rgbtGreen
    Specifies the intensity of green in the color.
  • rgbtRed
    Specifies the intensity of red in the color.

Requirements

Header windows.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

BITMAPCOREHEADER
BITMAPCOREINFO
GDI Structures