I have retrieved the bits of a bitmap into a byte array pBits...
Bits per pixel is 16 and there is only one plane.
Now how do I calculate the RGB value for pixel x,y so that
I may SetPixel (x, y, ???) and get the same color as in the original
bitmap? I'm hoping this is a straight calculation from pBits rather
than using something like SelectPalette( ). Please be explicit.