Color Management for Displays

GDI supports Image Color Management (ICM) version 2.0. Display drivers can use ICM without implementing any special code.

If the display hardware supports a gamma ramp, the display driver should implement DrvIcmSetDeviceGammaRamp. Color-calibrating applications that require color exactness use this capability. DirectDraw also uses this function to allow DirectX applications -- such as a game that performs palette animation in RGB modes -- to control the gamma ramp. For example code, refer to the Permedia sample display drivers.

Note The Microsoft Windows Driver Kit (WDK) does not contain the 3Dlabs Permedia2 (3dlabs.htm) and 3Dlabs Permedia3 (Perm3.htm) sample display drivers. You can get these sample drivers from the Windows Server 2003 SP1 Driver Development Kit (DDK), which you can download from the DDK - Windows Driver Development Kit page of the WDHC website.

Send comments about this topic to Microsoft