DrvRealizeColor (Compact 2013)
3/26/2014
This function maps an RGB color onto the closest available color that the device supports.
Syntax
ULONG DrvRealizeColor(
USHORT iDstType,
ULONG cEntries,
ULONG* pPalette,
ULONG rgbColor
);
Parameters
- iDstType
[in] Flag value. Set to one of PAL_INDEXED, PAL_BITFIELDS, PAL_RGB, or PAL_BGR.
- cEntries
[in] Number of entries in the palette.
- pPalette
[in] Pointer to the device palette.
- rgbColor
[in] Color to realize, specified in PAL_RGB format.
Return Value
Realized color value.
Requirements
Header |
winddi.h |
Library |
Ddi_ati_lib.lib, |