GetGValue macro

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

Syntax

void GetGValue(
   rgb
);

Parameters

rgb

Specifies an RGB color value.

Return Value

None

Remarks

The intensity value is in the range 0 through 255.

Requirements

   
Windows version Windows 2000 Professional [desktop apps only] Windows 2000 Server [desktop apps only]
Target Platform Windows
Header wingdi.h (include Windows.h)

See Also

Color Macros

Colors Overview

GetBValue

GetRValue

PALETTEINDEX

PALETTERGB

RGB