EMRSETICMPROFILE structure (wingdi.h)

The EMRSETICMPROFILE structure contains members for the SetICMProfile enhanced metafile record.

Syntax

typedef struct tagEMRSETICMPROFILE {
  EMR   emr;
  DWORD dwFlags;
  DWORD cbName;
  DWORD cbData;
  BYTE  Data[1];
} EMRSETICMPROFILE, *PEMRSETICMPROFILE, EMRSETICMPROFILEA, *PEMRSETICMPROFILEA, EMRSETICMPROFILEW, *PEMRSETICMPROFILEW;

Members

emr

The base structure for all record types.

dwFlags

The profile flags. This member can be SETICMPROFILE_EMBEDED (0x00000001).

cbName

The size of the desired profile name.

cbData

The size of profile data, if attached.

Data[1]

An array that contains the profile data. The length of this array is cbName plus cbData.

Remarks

This structure is to be used during metafile playback.

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

SetICMProfile