Partager via


Color Palette Issues

Applies To: Windows 7, Windows Vista

There are several known color palette issues addressed by the Compatibility Administrator through compatibility fixes and compatibility modes.

Fix Name Symptom Fix Description

IgnoreHungAppPaint

The application window does not display as expected at startup and during execution.

Intercepts calls to the RegisterClass function and changes the window brush to GetStockObject(HOLLOW_BRUSH). This prevents the USER process from painting over unresponsive application windows.

IgnoreSysColChanges

The application changes the system colors.

Prevents the application from making system color changes that cannot be restored after the application closes.

PaletteRestore

System colors change after an application switches tasks or modes.

Helps the application track and maintain palette changes that are lost during a mode change in Windows XP Professional.

EmulateGetDeviceCaps

A palette error occurs.

Modifies the GetDeviceCaps API found in Windows XP Professional. This fix enables an application to emulate the function of the Microsoft Windows®°95 operating system or the Microsoft Windows®°98 operating system.

EmulateGetDeviceCaps

You receive an error message stating "PM_free():Allocation 001B4498 failed integrity check!" when quitting an application.

Modifies the GetDeviceCaps API found in Windows XP Professional. This fix enables an application to emulate the Windows 95 or Windows 98 function.

EmulateDeleteObject

You receive an error message stating "Unhandled Error: User Category 10 Fatal Error: Code 2 Palette Error."

Enables the DeleteObject function, found in the Windows XP operating system, to return a successful result, emulating the Windows 95 or Windows 98 function.

ForceDefaultSystemPaletteEntries

Your palette appears distorted.

Attempts to isolate the Graphical Device Interface (GDI) palette operations from the DirectDraw function to more closely emulate Windows 95 and Windows 98 behavior.

See Also

Concepts

Known Compatibility Fixes, Compatibility Modes, and AppHelp Messages
Internet Explorer Compatibility Test Tool