2.3.11.14 EMR_SETICMMODE Record

The EMR_SETICMMODE record specifies the mode of Image Color Management (ICM) for graphics operations.<85>


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

ICMMode

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

Size (4 bytes): An unsigned integer that specifies the size of this record in bytes. This value is 0x0000000C.

ICMMode (4 bytes): An unsigned integer that specifies whether to enable or disable ICM, from the ICMMode enumeration (section 2.1.18).

When ICM mode is enabled in the playback device context, colors specified in EMF records SHOULD be color matched, whereas the default color profile SHOULD be used when a bit-block transfer is performed. If the default color profile is not desired, ICM mode SHOULD be turned off before performing the bit-block transfer.

See section 2.3.11 for more state record types.