The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
GetRValue macro
The GetRValue macro retrieves an intensity value for the red component of a red, green, blue (RGB) value.
Syntax
BYTE GetRValue( DWORD rgb );
Parameters
- rgb
-
Specifies an RGB color value.
Return value
The return value is the intensity of the red component of the specified RGB color.
Remarks
The intensity value is in the range 0 through 255.
Requirements
|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows 2000 Server [desktop apps only] |
|
Header |
|
See also
Show: