2.3.11.13 EMR_SETCOLORADJUSTMENT Record

The EMR_SETCOLORADJUSTMENT record specifies color adjustment properties in the playback device context.


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

ColorAdjustment (24 bytes)

...

...

...

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

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

ColorAdjustment (24 bytes): A ColorAdjustment object (section 2.2.2) that specifies color adjustment values.

Color adjustment values are used to adjust the input color of the source bitmap for graphics operations performed by EMR_STRETCHBLT and EMR_STRETCHDIBITS records when STRETCH_HALFTONE mode is set from the StretchMode enumeration (section 2.1.32).

 The ColorAdjustment object specified by this record MUST be used in graphics operations that require a ColorAdjustment object, until a different ColorAdjustment object is specified by another EMR_SETCOLORADJUSTMENT record, or until the object is removed by a EMR_DELETEOBJECT record.

See section 2.3.11 more state record types.