EMRPIXELFORMAT structure (wingdi.h)

The EMRPIXELFORMAT structure contains the members for the SetPixelFormat enhanced metafile record. The pixel format information in ENHMETAHEADER refers to this structure.

Syntax

typedef struct tagEMRPIXELFORMAT {
  EMR                   emr;
  PIXELFORMATDESCRIPTOR pfd;
} EMRPIXELFORMAT, *PEMRPIXELFORMAT;

Members

emr

The base structure for all record types.

pfd

A PIXELFORMATDESCRIPTOR structure, which describes the pixel format.

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

ENHMETAHEADER

Metafile Structures

Metafiles Overview

PIXELFORMATDESCRIPTOR

SetPixelFormat