EMRCREATEPALETTE

The EMRCREATEPALETTE structure contains members for the CreatePalette enhanced metafile record.

typedef struct tagEMRCREATEPALETTE
{
    EMR        emr; 
    DWORD      ihPal; 
    LOGPALETTE lgpl; 
} EMRCREATEPALETTE, *PEMRCREATEPALETTE; 
 

Members

emr
Base structure for all record types.
ihPal
Index of palette in handle table.
lgpl
LOGPALETTE structure that contains information about the palette. Note that peFlags members in the PALETTEENTRY 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, CreatePalette, LOGPALETTE, PALETTEENTRY