This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

The DIBColors enumeration defines how to interpret the values in the color table of a DIB .

 typedef  enum 
   DIB_RGB_COLORS = 0x00,
   DIB_PAL_COLORS = 0x01,
   DIB_PAL_INDICES = 0x02
 } DIBColors;

DIB_RGB_COLORS: The color table contains literal RGB values.

DIB_PAL_COLORS: The color table consists of an array of 16-bit indexes into the LogPalette object (section 2.2.17) that is currently defined in the playback device context.

DIB_PAL_INDICES: No color table exists. The pixels in the DIB are indices into the current logical palette in the playback device context.

DIBs are specified by DeviceIndependentBitmap objects ([MS-WMF] section 2.2.2.9).