EMREOF structure (wingdi.h)

The EMREOF structure contains data for the enhanced metafile record that indicates the end of the metafile.

Syntax

typedef struct tagEMREOF {
  EMR   emr;
  DWORD nPalEntries;
  DWORD offPalEntries;
  DWORD nSizeLast;
} EMREOF, *PEMREOF;

Members

emr

The base structure for all record types.

nPalEntries

The number of palette entries.

offPalEntries

The offset, in bytes, to an array of PALETTEENTRY structures.

nSizeLast

The same size as the nSize member of the EMR structure. This member must be the last double word of the record. If palette entries exist, they precede this member.

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

EMR

Metafile Structures

Metafiles Overview

PALETTEENTRY