ID: Q195827
The information in this article applies to:
- Microsoft Windows 98
The values retrieved by GetBitmapDimensionEx after the color depth changes are not the same as those set by SetBitmapDimensionEx before the color depth changes.
Windows 98 GDI resource handling code reused the dimension values for storing the handle of the logic device and the palette.
To work around this problem, store the bitmap dimension values locally in the application and not through the GetBitmapDimensionEx API.
Additional query words:
Keywords : kbBitmap kbGDI kbWinOS98
Platform : WINDOWS
Last Reviewed: November 17, 1998