EMRSETPALETTEENTRIES

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

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

Members

emr
Base structure for all record types.
ihPal
Palette handle index.
iStart
Index of first entry to set.
cEntries
Number of entries.
aPalEntries
Array of PALETTEENTRY structures. Note that peFlags members in the structures do not contain any flags.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in wingdi.h.

See Also

Metafiles Overview, Enhanced Metafile Structures, PALETTEENTRY, SetPaletteEntries