EMRSETCOLORSPACE structure (wingdi.h)

The EMRSETCOLORSPACE, EMRSELECTCOLORSPACE, and EMRDELETECOLORSPACE structures contain members for the SetColorSpace and DeleteColorSpace enhanced metafile records.

Syntax

typedef struct tagEMRSETCOLORSPACE {
  EMR   emr;
  DWORD ihCS;
} EMRSETCOLORSPACE, *PEMRSETCOLORSPACE, EMRSELECTCOLORSPACE, *PEMRSELECTCOLORSPACE, EMRDELETECOLORSPACE, *PEMRDELETECOLORSPACE;

Members

emr

Base structure for all record types.

ihCS

Color space handle index.

Remarks

There is no function that generates an enhanced metafile record with the EMRSELECTCOLORSPACE structure.

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