GetBValue

The GetBValue macro is used to return the blue value in the specified color.

BYTE GetBValue(COLORREF rgb);

Parameters

rgb

The specified color.

Return Value

Returns the blue value in the specified color, which ranges from 0 to 255.

Remarks

GetBValue macro is defined in the Windows SDK.

Examples

None

(贡献者:Krissi  编辑