EMRCREATEPALETTE structure

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

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

Metafiles Overview
Metafile Structures
CreatePalette
LOGPALETTE
PALETTEENTRY

 

 

Show: