windows_programming_notes.nbk: Home | Index | Next Page: GetLastError | Previous Page: GetFileType


 GetGValue

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

    BYTE GetGValue(
      DWORD rgb     // RGB value
    );

Parameters

Return Values

The return value is the intensity of the green 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: GetLastError | Previous Page: GetFileType


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