Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ColorCorrectPalette Function

The ColorCorrectPalette function corrects the entries of a palette using the WCS 1.0 parameters in the specified device context.

Syntax

BOOL WINAPI ColorCorrectPalette(
    HDC hDC,
    HPALETTE hPalette,
    DWORD dwFirstEntry,
    DWORD dwNumOfEntries
);

Parameters

hDC

Specifies a device context whose WCS parameters to use.

hPalette

Specifies the handle to the palette to be color corrected.

dwFirstEntry

Specifies the first entry in the palette to be color corrected.

dwNumOfEntries

Specifies the number of entries to color correct.

Return Value

If this function succeeds, the return value is TRUE.

If this function fails, the return value is FALSE.

Requirements

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Wingdi.h

Library

Gdi32.lib

DLL

Gdi32.dll

See Also

Basic Color Management Concepts
Functions

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2010

Community Additions

Show:
© 2014 Microsoft