windows_programming_notes.nbk: Home | Index | Next Page: GetSaveFileName | Previous Page: GetROP2


 GetRValue

The GetBValue macro retrieves an intensity value for the blue component of a red, green, blue (RGB) value.

    BYTE GetBValue(
      DWORD rgb     // RGB value
    );

Parameters

Return Values

The return value is the intensity of the blue component of the specified RGB color.

Remarks

The intensity value is in the range 0 through 255.

Requirements


windows_programming_notes.nbk: Home | Index | Next Page: GetSaveFileName | Previous Page: GetROP2


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time