Skip to content

Latest commit

 

History

History
87 lines (65 loc) · 2.24 KB

nf-winddi-palobj_cgetcolors.md

File metadata and controls

87 lines (65 loc) · 2.24 KB
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.
PALOBJ_cGetColors
PALOBJ_cGetColors function [Display Devices]
display.palobj_cgetcolors
gdifncs_b7181e52-6f68-4901-9d52-1791a973e6d6.xml
winddi/PALOBJ_cGetColors
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
PALOBJ_cGetColors
winddi/PALOBJ_cGetColors
c++
APIRef
kbSyntax
DllExport
Win32k.sys
PALOBJ_cGetColors

PALOBJ_cGetColors function

-description

The PALOBJ_cGetColors function copies RGB colors from an indexed palette.

-parameters

-param ppalo

Pointer to the PALOBJ structure that contains the RGB colors to be copied.

-param iStart

Specifies the starting color index.

-param cColors

Specifies the number of colors to be written.

-param pulColors

Pointer to the buffer in which the colors are to be written.

-returns

The return value is the number of colors written if the function is successful. Otherwise, it is zero.

-remarks

A graphics driver can call this function in its implementation of DrvSetPalette.

-see-also

DrvSetPalette

PALOBJ