GetBValue

3.1

  BYTE GetBValue(rgb)    
  DWORD rgb; /* RGB color value */

The GetBValue macro extracts the intensity value of the blue color field from the 32-bit integer value specified by the rgb parameter.

Parameters

rgb

Specifies the RGB color value.

Return Value

The return value specifies the intensity of the blue color field.

Comments

The GetBValue macro is defined in WINDOWS.H as follows:

#define GetBValue(rgb)  ((BYTE)((rgb)>>16))

See Also

GetGValue, GetRValue, RGB