BYTE GetRValue(rgb) | |||||
DWORD rgb; | /* RGB color value | */ |
The GetRValue macro extracts the intensity value of the red color field from the 32-bit integer value specified by the rgb parameter.
rgb
Specifies the RGB color value.
The return value specifies the intensity of the red color field.
The GetRValue macro is defined in WINDOWS.H as follows:
#define GetRValue(rgb) ((BYTE)(rgb))