61.3.2 Functional Changes

One general class of functions were changed beyond those listed above. They are bitmap functions. These calls contained some features that were not supportable under Win32.

61.3.2.1 Bitmap Changes

Applications are encouraged to use DIBitmaps. The old bitmap formats from GetBitmapBits contained no tags indicating the format. On reading them, we have no way to find out what version of Windows wrote them. The old Bitmap calls are included for compatibility purposes. Applications are encouraged to use the newer DIB calls.

Bitmaps contain palettes just like device surfaces do. On CreateDiBitmap the palette is set to the given color table. The palette may be changed with RealizePalette.