Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EMRCREATECOLORSPACEW structure

The EMRCREATECOLORSPACEW structure contains members for the CreateColorSpace enhanced metafile record. It differs from EMRCREATECOLORSPACE in that it has a Unicode logical color space and also has an optional array containing raw source profile data.

Syntax


typedef struct tagEMRCREATECOLORSPACEW {
  EMR            emr;
  DWORD          ihCS;
  LOGCOLORSPACEW lcs;
  DWORD          dwFlags;
  DWORD          cbData;
  BYTE           Data[1];
} EMRCREATECOLORSPACEW, *PEMRCREATECOLORSPACEW;

Members

emr

The base structure for all record types.

ihCS

Index of the color space in handle table.

lcs

Logical color space. Note, this is the Unicode version of the structure.

dwFlags

Can be the following.

FlagMeaning
CREATECOLORSPACE_EMBEDEDIndicates that a color space is embedded in the metafile.

 

cbData

Size of the raw source profile data in bytes, if it is attached.

Data

An array containing the source profile data. The size of the array is cbData.

Requirements

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

Metafiles Overview
Metafile Structures
CreateColorSpace
EMRCREATECOLORSPACE

 

 

Community Additions

Show:
© 2014 Microsoft