Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
COLORREF
COLORREF Specifies a 32-bit RGB color value or a logical color index. For
RGB color values, the high-order byte is zero, and bytes 0, 1, and 2
represent the intensity levels of blue, green, and red, respectively. For
logical color indexes, the high-order byte is 0xFF, and the low-order
16-bits represents the index.