2.3.11.16 EMR_SETICMPROFILEW Record

The EMR_SETICMPROFILEW record specifies a color profile in a file with a name consisting of Unicode characters, for graphics output.<87>


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Type

Size

dwFlags

cbName

cbData

Data (variable)

...

Type (4 bytes): An unsigned integer that identifies this record type as EMR_SETICMPROFILEW. This value is 0x00000071.

Size (4 bytes): An unsigned integer that specifies the size of this record in bytes.

dwFlags (4 bytes): An unsigned integer that contains color profile flags.

cbName (4 bytes): An unsigned integer that specifies the number of bytes in the Unicode UTF16-LE name of the desired color profile.

cbData (4 bytes): An unsigned integer that specifies the size of color profile data, if attached.

Data (variable): An array of size (cbName + cbData) in bytes, which specifies the UTF16-LE name and raw data of the desired color profile.

See section 2.3.11 for more state record types.