EMRCREATEPALETTE structure (wingdi.h)

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

Syntax

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

Members

emr

The base structure for all record types.

ihPal

Index of palette in handle table.

lgpl

A LOGPALETTE structure that contains information about the palette. Note that peFlags members in the PALETTEENTRY 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

CreatePalette

LOGPALETTE

Metafile Structures

Metafiles Overview

PALETTEENTRY