2.2.2.4.10.1.17 TSHR_RGBQUAD

The TSHR_RGBQUAD structure specifies a color value to use. The TSHR_RGBQUAD structure also contains a reserved field. Each color channel is represented by using a standard scale of 0-255.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

rgbBlue

rgbGreen

rgbRed

rgbReserved

rgbBlue (1 byte): The color value that represents the blue channel.

rgbGreen (1 byte): The color value that represents the green channel.

rgbRed (1 byte): The color value that represents the red channel.

rgbReserved (1 byte): Reserved. MUST be set to zero when sent and MUST be ignored on receipt.