GetRValue

The GetGValue macro is used to return the red value in the specified color.

BYTE GetRValue(COLORREF rgb);

Parameters

rgb

The specified color.

Return Value

The red value in the specified color, the range of values 0~255.

Remarks

GetRValue macros are defined in the Windows SDK.

Examples

None