EMRSELECTPALETTE structure (wingdi.h)

The EMRSELECTPALETTE structure contains members for the SelectPalette enhanced metafile record. Note that the bForceBackground parameter in SelectPalette is always recorded as TRUE, which causes the palette to be realized as a background palette.

Syntax

typedef struct tagEMRSELECTPALETTE {
  EMR   emr;
  DWORD ihPal;
} EMRSELECTPALETTE, *PEMRSELECTPALETTE;

Members

emr

The base structure for all record types.

ihPal

Index to logical palette in the handle table.

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

SelectPalette