EMRCREATECOLORSPACEW structure (wingdi.h)
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.
Flag | Meaning |
---|---|
CREATECOLORSPACE_EMBEDED | Indicates that a color space is embedded in the metafile. |
cbData
Size of the raw source profile data in bytes, if it is attached.
Data[1]
An array containing the source profile data. The size of the array is cbData.
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) |