UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:wingdi.AnimatePalette |
AnimatePalette function (wingdi.h) |
The AnimatePalette function replaces entries in the specified logical palette. |
|
gdi\animatepalette.htm |
gdi |
65dd45e2-39a4-4a94-bd14-b0c8e4a609a3 |
12/05/2018 |
AnimatePalette, AnimatePalette function [Windows GDI], _win32_AnimatePalette, gdi.animatepalette, wingdi/AnimatePalette |
wingdi.h |
Windows.h |
Windows |
Windows 2000 Professional [desktop apps only] |
Windows 2000 Server [desktop apps only] |
Gdi32.lib |
Gdi32.dll |
Windows |
19H1 |
|
|
|
|
|
|
The AnimatePalette function replaces entries in the specified logical palette.
A handle to the logical palette.
The first logical palette entry to be replaced.
The number of entries to be replaced.
A pointer to the first member in an array of PALETTEENTRY structures used to replace the current entries.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
An application can determine whether a device supports palette operations by calling the GetDeviceCaps function and specifying the RASTERCAPS constant.
The AnimatePalette function only changes entries with the PC_RESERVED flag set in the corresponding palPalEntry member of the LOGPALETTE structure.
If the given palette is associated with the active window, the colors in the palette are replaced immediately.