Expand

RGBQUAD Structure

The RGBQUAD structure describes a color consisting of relative intensities of red, green, and blue.

Syntax

typedef struct tagRGBQUAD {
  BYTE rgbBlue;
  BYTE rgbGreen;
  BYTE rgbRed;
  BYTE rgbReserved;
} RGBQUAD;

Members

rgbBlue

The intensity of blue in the color.

rgbGreen

The intensity of green in the color.

rgbRed

The intensity of red in the color.

rgbReserved

This member is reserved and must be zero.

Remarks

The bmiColors member of the BITMAPINFO structure consists of an array of RGBQUAD structures.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wingdi.h (include Windows.h)

See Also

Bitmaps Overview
Bitmap Structures
BITMAPINFO
CreateDIBitmap
CreateDIBSection
GetDIBits
SetDIBits
SetDIBitsToDevice
StretchDIBits

 

 

Send comments about this topic to Microsoft

Build date: 10/29/2010

Page view tracker