次の方法で共有


DrvUnrealizeColor (Compact 2013)

3/26/2014

This function maps a color in the display device's format to an RGB value.

Syntax

ULONG APIENTRY DrvUnrealizeColor(
  USHORT iSrcType,
  ULONG cEntries,
  ULONG* pPalette,
  ULONG iRealizedColor
);

Parameters

  • iSrcType
    [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.
  • iRealizedColor
    [in] Color to unrealize, specified in PAL_RGB format. Obtained by DrvRealizeColor.

Return Value

Unrealized color value.

Requirements

Header

winddi.h

Library

Ddi_ati_lib.lib,
Ddi_flat_lib.lib,
Ddi_gx_lib.lib,
Ddi_mq200_lib.lib,
Ddi_nop_lib.lib,
Ddi_rflat_lib.lib,
Ddi_rgx_lib.lib,
Ddi_tvia5_lib.lib

See Also

Reference

Display Driver Functions
DrvRealizeColor