该结构用于描述一种颜色的红、绿、蓝的相对强度。
原型:
typedef struct tagRGBQUAD {
BYTE rgbBlue;
BYTE rgbGreen;
BYTE rgbRed;
BYTE rgbReserved;
} RGBQUAD;
成员:
rgbBlue、rgbGreen、rgbRed:分别指定蓝、绿、红色的强度。rgbReserved是保留值,设置为0。
备注:
Windows CE 不支持rgbReserved,应该初始化为0。BITMAPINFO结构的bmiColors 成员由RGBQUAD 结构数组组成。