VC++ COLORREF with alpha value

Viewed 2963

As long as I understand the defined COLORREF in VC++ is a DWORD which looks like this 0x00bbggrr where bb, gg and rr are bytes that are used for red, green and blue. Microsoft's documentation states that

The high-order byte must be zero.

However in .NET it is used for storing alpha value of the color. My question is:

Is it dangerous to store my alpha value in the high byte of COLORREF

1 Answers
Related