EMRSETPALETTEENTRIES structure (wingdi.h)

The EMRSETPALETTEENTRIES structure contains members for the SetPaletteEntries enhanced metafile record.

Syntax

typedef struct tagEMRSETPALETTEENTRIES {
  EMR          emr;
  DWORD        ihPal;
  DWORD        iStart;
  DWORD        cEntries;
  PALETTEENTRY aPalEntries[1];
} EMRSETPALETTEENTRIES, *PEMRSETPALETTEENTRIES;

Members

emr

The base structure for all record types.

ihPal

Palette handle index.

iStart

Index of first entry to set.

cEntries

Number of entries.

aPalEntries[1]

Array of PALETTEENTRY structures. Note that peFlags members in the structures do not contain any flags.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header wingdi.h (include Windows.h)

See also

Metafile Structures

Metafiles Overview

PALETTEENTRY

SetPaletteEntries