typedef struct tagBITMAPINFO {
BITMAPINFOHEADER bmiHeader;
RGBQUAD bmiColors[1];
} BITMAPINFO, *PBITMAPINFO;
I never really understood what the values in the bmiColors array do. I usually 0-fill it, but putting in any arbitrary value doesn't affect my application at all.
The MSDN documentation is also ambiguous on what that member does, when I simply manipulate the pixels in the COLORREF array allocated by CreateDIBSection, and then bitblt.
What is bmiColors?