CreateDIBitmap creates a monochrome bitmap only when the first color of the colormap is black followed by white. Otherwise it creates a color bitmap.