I got it!

Went back to CreateDIBSection() from my original post, but initialized bmiColors like this:

Code:
            for (int n=0; n < 256; n++)
            {
                m_pBitmapInfo->bmiColors[n].rgbBlue=n;
                m_pBitmapInfo->bmiColors[n].rgbGreen=n;
                m_pBitmapInfo->bmiColors[n].rgbRed=n;
                m_pBitmapInfo->bmiColors[n].rgbReserved=0;
            }
Thanks for the advice!
Mac