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:winddi.PALOBJ_cGetColors |
PALOBJ_cGetColors function (winddi.h) |
The PALOBJ_cGetColors function copies RGB colors from an indexed palette. |
|
display\palobj_cgetcolors.htm |
display |
c6bce32f-4daa-41e4-a495-8a3b56d70efc |
12/05/2018 |
PALOBJ_cGetColors, PALOBJ_cGetColors function [Display Devices], display.palobj_cgetcolors, gdifncs_b7181e52-6f68-4901-9d52-1791a973e6d6.xml, winddi/PALOBJ_cGetColors |
winddi.h |
Winddi.h |
Universal |
Available in Windows 2000 and later versions of the Windows operating systems. |
Win32k.lib |
Win32k.sys |
Windows |
19H1 |
|
|
|
|
|
|
The PALOBJ_cGetColors function copies RGB colors from an indexed palette.
Pointer to the PALOBJ structure that contains the RGB colors to be copied.
Specifies the starting color index.
Specifies the number of colors to be written.
Pointer to the buffer in which the colors are to be written.
The return value is the number of colors written if the function is successful. Otherwise, it is zero.
A graphics driver can call this function in its implementation of DrvSetPalette.